Browse Source

Tweaked proj string regex in gis tests

Claude Paroz 11 years ago
parent
commit
4367c637d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      django/contrib/gis/tests/test_spatialrefsys.py

+ 1 - 1
django/contrib/gis/tests/test_spatialrefsys.py

@@ -23,7 +23,7 @@ test_srs = ({'srid' : 4326,
              'auth_srid' : 32140,
              'srtext' : 'PROJCS["NAD83 / Texas South Central",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980"',
              'proj4_re' : r'\+proj=lcc \+lat_1=30.28333333333333 \+lat_2=28.38333333333333 \+lat_0=27.83333333333333 '
-                          r'\+lon_0=-99 \+x_0=600000 \+y_0=4000000 \+ellps=GRS80 '
+                          r'\+lon_0=-99 \+x_0=600000 \+y_0=4000000 (\+ellps=GRS80 )?'
                           r'(\+datum=NAD83 |\+towgs84=0,0,0,0,0,0,0)?\+units=m \+no_defs ',
              'spheroid' : 'GRS 1980', 'name' : 'NAD83 / Texas South Central',
              'geographic' : False, 'projected' : True, 'spatialite' : False,