﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20838	Geodjango spatialrefsys test fails with postgis-2.0.3	Harm Geerts <hgeerts@…>	nobody	"{{{
FAIL: test01_retrieve (django.contrib.gis.tests.test_spatialrefsys.SpatialRefSysTest)
Testing retrieval of SpatialRefSys model objects.
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/harm/dev/django/django/contrib/gis/tests/test_spatialrefsys.py"", line 58, in test01_retrieve
    six.assertRegex(self, srs.proj4text, sd['proj4_re'])
  File ""/home/harm/dev/django/django/utils/six.py"", line 430, in assertRegex
    return getattr(self, _assertRegex)(*args, **kwargs)
AssertionError: Regexp didn't match: '\\+proj=lcc \\+lat_1=30.28333333333333 \\+lat_2=28.38333333333333 \\+lat_0=27.83333333333333 \\+lon_0=-99 \\+x_0=600000 \\+y_0=4000000 (\\+ellps=GRS80 )?(\\+datum=NAD83 |\\+towgs84=0,0,0,0,0,0,0)?\\+units=m \\+no_defs ' not found in u'+proj=lcc +lat_1=30.28333333333333 +lat_2=28.38333333333333 +lat_0=27.83333333333333 +lon_0=-99 +x_0=600000 +y_0=4000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs '

======================================================================
FAIL: test02_osr (django.contrib.gis.tests.test_spatialrefsys.SpatialRefSysTest)
Testing getting OSR objects from SpatialRefSys model objects.
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/home/harm/dev/django/django/contrib/gis/tests/test_spatialrefsys.py"", line 77, in test02_osr
    six.assertRegex(self, srs.proj4, sd['proj4_re'])
  File ""/home/harm/dev/django/django/utils/six.py"", line 430, in assertRegex
    return getattr(self, _assertRegex)(*args, **kwargs)
AssertionError: Regexp didn't match: '\\+proj=lcc \\+lat_1=30.28333333333333 \\+lat_2=28.38333333333333 \\+lat_0=27.83333333333333 \\+lon_0=-99 \\+x_0=600000 \\+y_0=4000000 (\\+ellps=GRS80 )?(\\+datum=NAD83 |\\+towgs84=0,0,0,0,0,0,0)?\\+units=m \\+no_defs ' not found in u'+proj=lcc +lat_1=30.28333333333333 +lat_2=28.38333333333333 +lat_0=27.83333333333333 +lon_0=-99 +x_0=600000 +y_0=4000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs '
}}}"	Bug	closed	GIS	dev	Normal	fixed	postgis,geodjango		Accepted	1	0	0	0	1	0
