Show
Ignore:
Timestamp:
01/05/09 14:20:01 (19 months ago)
Author:
seang
Message:

Increment version, note branching, remove obsolete linestring factory test.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Shapely/trunk/tests/test_linestring.py

    r1168 r1176  
    114114                          array([0, 0]) 
    115115                          ) 
    116  
    117     def test_coords_update(self): 
    118         p = linestring.LineString(((0.0, 0.0), (1.0, 1.0))) 
    119         linestring.update_linestring_from_py(p, ((1.0, 1.0), (2.0, 2.0))) 
    120         self.assertRaises(ValueError, 
    121                           linestring.update_linestring_from_py, 
    122                           p, [[1.0, 1.0, 1.0], [2.0, 2.0, 2.0]] 
    123                           ) 
    124                                 
    125     def test_coords_update_numpy(self): 
    126         p = linestring.LineString(((0.0, 0.0), (1.0, 1.0))) 
    127         linestring.update_linestring_from_py(p, array([[1.0, 1.0], [2.0, 2.0]])) 
    128         self.assertRaises(ValueError, 
    129                           linestring.update_linestring_from_py, 
    130                           p, array([[1.0, 1.0, 1.0], [2.0, 2.0, 2.0]]) 
    131                           ) 
    132          
    133