diff options
| author | Sergey Maranchuk <slav0nic@python.su> | 2020-04-17 22:12:06 +0300 |
|---|---|---|
| committer | Sergey Maranchuk <slav0nic@python.su> | 2020-04-17 22:12:06 +0300 |
| commit | 6668e43d2d67db4574e08a9d54bd80eb105c1b28 (patch) | |
| tree | 10eda61b15ae53815af24af956267e2f632a46f7 /tests/test_scripts/test_pdistreport.py | |
| parent | 48cf45b0a1ac04e701101fa18778164825edd429 (diff) | |
| download | pyramid-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.py | 6 |
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' |
