Django

Code

Changeset 5541

Show
Ignore:
Timestamp:
06/25/07 18:53:43 (1 year ago)
Author:
jdunck
Message:

gis: Noted test error messages that should be ignored since they're issued by geos on an expected failure.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis/django/contrib/gis/tests/test_geos.py

    r5478 r5541  
    2020    def test0102_errors(self): 
    2121        "Testing the Error handlers." 
     22 
     23        print "\nBEGIN - expecting ParseError; safe to ignore.\n" 
    2224        for err in errors: 
    2325            if err.hex: 
     
    2527            else: 
    2628                self.assertRaises(GEOSException, GEOSGeometry, err.wkt) 
     29        print "\nEND - expecting ParseError; safe to ignore.\n" 
     30 
    2731                 
    2832    def test02_points(self):