diff --git a/tests/kml_test.py b/tests/kml_test.py index 433a8c3c..42c06b28 100644 --- a/tests/kml_test.py +++ b/tests/kml_test.py @@ -133,6 +133,10 @@ def test_parse_kml_fileobject(self) -> None: class TestLxml(Lxml, TestStdLibrary): """Test with lxml.""" + +class TestLxmlParseKML(Lxml, TestParseKML): + """Test with Lxml.""" + def test_from_string_with_unbound_prefix(self) -> None: doc = io.StringIO( '' @@ -144,7 +148,3 @@ def test_from_string_with_unbound_prefix(self) -> None: k = kml.KML.parse(doc, ns="{http://www.opengis.net/kml/2.2}") assert len(k.features) == 1 assert isinstance(k.features[0], features.Placemark) - - -class TestLxmlParseKML(Lxml, TestParseKML): - """Test with Lxml."""