diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-12-06 08:44:43 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-12-06 08:51:45 -0300 |
| commit | 9a73e7f40c851cef262dd36da444c81492632ee5 (patch) | |
| tree | fbf96ff7c414fcd2c8cacbd76d68364f6b6a35ff | |
| parent | 482ca0cecc93a76cbcbfbf784f56db160b2e5cfc (diff) | |
Fixed #19678 -- GeoDjango test failure with spatialite >= 3.0.
Thanks Julien for the report and Claude for the fix.
| -rw-r--r-- | django/contrib/gis/tests/test_spatialrefsys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/tests/test_spatialrefsys.py b/django/contrib/gis/tests/test_spatialrefsys.py index 194578d1e0..3744546ccd 100644 --- a/django/contrib/gis/tests/test_spatialrefsys.py +++ b/django/contrib/gis/tests/test_spatialrefsys.py @@ -12,7 +12,7 @@ test_srs = ({'srid': 4326, # Only the beginning, because there are differences depending on installed libs 'srtext': 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84"', # +ellps=WGS84 has been removed in the 4326 proj string in proj-4.8 - 'proj4_re': r'\+proj=longlat (\+ellps=WGS84 )?\+datum=WGS84 \+no_defs ', + 'proj4_re': r'\+proj=longlat (\+ellps=WGS84 )?(\+datum=WGS84 |\+towgs84=0,0,0,0,0,0,0 )\+no_defs ', 'spheroid': 'WGS 84', 'name': 'WGS 84', 'geographic': True, 'projected': False, 'spatialite': True, 'ellipsoid': (6378137.0, 6356752.3, 298.257223563), # From proj's "cs2cs -le" and Wikipedia (semi-minor only) |
