def test10_attributes(self):
        for s in srlist:
            srs = SpatialReference(s.wkt)
            for tup in s.attr:
                att = tup[0]  # Attribute to test
                exp = tup[1]  # Expected result
                self.assertEqual(exp, srs[att])
Testing the attribute retrieval routines.
dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test10_attributes