def test12_coordtransform(self):
        target = SpatialReference('WGS84')
        for s in srlist:
            if s.proj:
                CoordTransform(SpatialReference(s.wkt), target)
Make certain we have a valid connection and return it.
dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test12_coordtransform--crossover with--dataset/ETHPy150Open aparo/pyes/pyes/connection.py/ThreadLocalConnection._ensure_connection