Testing getting the WKT.
(self)
| 231 | self.fail('Should not have initialized on bad WKT "%s"!') |
| 232 | |
| 233 | def test03_get_wkt(self): |
| 234 | "Testing getting the WKT." |
| 235 | for s in srlist: |
| 236 | srs = SpatialReference(s.wkt) |
| 237 | # GDAL 3 strips UNIT part in the last occurrence. |
| 238 | self.assertEqual( |
| 239 | s.wkt.replace(',UNIT["Meter",1]', ""), |
| 240 | srs.wkt.replace(',UNIT["Meter",1]', ""), |
| 241 | ) |
| 242 | |
| 243 | def test04_proj(self): |
| 244 | """PROJ import and export.""" |
nothing calls this directly
no test coverage detected