Removed debugging line left in previous commit
This commit is contained in:
parent
cdcdd131da
commit
35ddeee455
|
@ -71,7 +71,6 @@ class GeometryFieldTest(unittest.TestCase):
|
||||||
for wkt in ('POINT(5 23)', 'MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 'LINESTRING(0 0, 1 1)'):
|
for wkt in ('POINT(5 23)', 'MULTIPOLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 'LINESTRING(0 0, 1 1)'):
|
||||||
self.assertEqual(GEOSGeometry(wkt), fld.to_python(wkt))
|
self.assertEqual(GEOSGeometry(wkt), fld.to_python(wkt))
|
||||||
# but raises a ValidationError for any other string
|
# but raises a ValidationError for any other string
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
for wkt in ('POINT(5)', 'MULTI POLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 'BLAH(0 0, 1 1)'):
|
for wkt in ('POINT(5)', 'MULTI POLYGON(((0 0, 0 1, 1 1, 1 0, 0 0)))', 'BLAH(0 0, 1 1)'):
|
||||||
self.assertRaises(forms.ValidationError, fld.to_python, wkt)
|
self.assertRaises(forms.ValidationError, fld.to_python, wkt)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue