summaryrefslogtreecommitdiff
path: root/tests/test_scripts/test_pdistreport.py
diff options
context:
space:
mode:
authorSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
committerSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
commit6668e43d2d67db4574e08a9d54bd80eb105c1b28 (patch)
tree10eda61b15ae53815af24af956267e2f632a46f7 /tests/test_scripts/test_pdistreport.py
parent48cf45b0a1ac04e701101fa18778164825edd429 (diff)
downloadpyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.gz
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.bz2
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.zip
inheriting from `object` not necessary in py3
Diffstat (limited to 'tests/test_scripts/test_pdistreport.py')
-rw-r--r--tests/test_scripts/test_pdistreport.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_scripts/test_pdistreport.py b/tests/test_scripts/test_pdistreport.py
index 031a6ff2b..079722734 100644
--- a/tests/test_scripts/test_pdistreport.py
+++ b/tests/test_scripts/test_pdistreport.py
@@ -64,7 +64,7 @@ class TestPDistReportCommand(unittest.TestCase):
)
-class DummyPkgResources(object):
+class DummyPkgResources:
def __init__(self, working_set=()):
self.working_set = working_set
@@ -72,12 +72,12 @@ class DummyPkgResources(object):
return Version('1')
-class Version(object):
+class Version:
def __init__(self, version):
self.version = version
-class DummyDistribution(object):
+class DummyDistribution:
def __init__(self, name):
self.project_name = name
self.version = '1'