mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
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)'):
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user