From cecc079168e8669138728d31611ff3a1e7eb3a9f Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Thu, 19 Jan 2017 02:39:46 -0500 Subject: Refs #23919 -- Stopped inheriting from object to define new style classes. --- tests/gis_tests/test_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/gis_tests/test_data.py') diff --git a/tests/gis_tests/test_data.py b/tests/gis_tests/test_data.py index 9e31b5a599..23df42c007 100644 --- a/tests/gis_tests/test_data.py +++ b/tests/gis_tests/test_data.py @@ -31,7 +31,7 @@ def get_ds_file(name, ext): ) -class TestObj(object): +class TestObj: """ Base testing object, turns keyword args into attributes. """ @@ -76,7 +76,7 @@ class TestGeom(TestObj): super(TestGeom, self).__init__(**kwargs) -class TestGeomSet(object): +class TestGeomSet: """ Each attribute of this object is a list of `TestGeom` instances. """ @@ -85,7 +85,7 @@ class TestGeomSet(object): setattr(self, key, [TestGeom(**strconvert(kw)) for kw in value]) -class TestDataMixin(object): +class TestDataMixin: """ Mixin used for GEOS/GDAL test cases that defines a `geometries` property, which returns and/or loads the reference geometry data. -- cgit v1.3