mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +00:00
gis: Noted test error messages that should be ignored since they're issued by geos on an expected failure.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@5541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fc779fe55a
commit
bea0a500da
@ -19,11 +19,15 @@ class GeosTest2(unittest.TestCase):
|
||||
|
||||
def test0102_errors(self):
|
||||
"Testing the Error handlers."
|
||||
|
||||
print "\nBEGIN - expecting ParseError; safe to ignore.\n"
|
||||
for err in errors:
|
||||
if err.hex:
|
||||
self.assertRaises(GEOSException, GEOSGeometry, err.wkt, 'hex')
|
||||
else:
|
||||
self.assertRaises(GEOSException, GEOSGeometry, err.wkt)
|
||||
print "\nEND - expecting ParseError; safe to ignore.\n"
|
||||
|
||||
|
||||
def test02_points(self):
|
||||
"Testing Point objects."
|
||||
|
Loading…
x
Reference in New Issue
Block a user