From 9cbcea5fd5b384f7f9a834d6c543ce51fc893792 Mon Sep 17 00:00:00 2001 From: Guille Date: Mon, 19 Oct 2020 11:48:34 -0400 Subject: [PATCH] Remove deprecated assert call and unused variable --- tests/test_geometry_factory.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_geometry_factory.py b/tests/test_geometry_factory.py index bcac1604..75186dcd 100644 --- a/tests/test_geometry_factory.py +++ b/tests/test_geometry_factory.py @@ -34,11 +34,10 @@ class TestGeometryFactory(TestCase): Test subway parsing :return: """ - city = self._get_citygml() file_path = (self._example_path / 'subway.osm').resolve() subway_entrances = self._features = GeometryFactory('osm_subway', file_path).features self.assertIsNotNone(subway_entrances, 'subway entrances is none') - self.assertEquals(len(subway_entrances), 20, 'Wrong number of subway entrances') + self.assertEqual(len(subway_entrances), 20, 'Wrong number of subway entrances') def test_citygml_city(self): """