Removed debugging line left in previous commit

This commit is contained in:
Claude Paroz 2012-07-15 21:19:23 +02:00
parent cdcdd131da
commit 35ddeee455
1 changed files with 0 additions and 1 deletions

View File

@ -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)'):
self.assertEqual(GEOSGeometry(wkt), fld.to_python(wkt))
# 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)'):
self.assertRaises(forms.ValidationError, fld.to_python, wkt)