def test_kml(self):
        for tg in self.geometries.wkt_out:
            geom = fromstr(tg.wkt)
            kml = getattr(tg, 'kml', False)
            if kml: self.assertEqual(kml, geom.kml)
Magic for creating bound methods (used for _unload).
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/gis/geos/tests/test_geos.py/GEOSTest.test_kml--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/corpus/util.py/_make_bound_method