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_paster.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_paster.py')
| -rw-r--r-- | tests/test_paster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_paster.py b/tests/test_paster.py index ef2571471..09e3bb868 100644 --- a/tests/test_paster.py +++ b/tests/test_paster.py @@ -131,7 +131,7 @@ class Test_bootstrap(unittest.TestCase): self.app = app = DummyApp() self.root = root = Dummy() - class DummyGetApp(object): + class DummyGetApp: def __call__(self, *a, **kw): self.a = a self.kw = kw @@ -139,7 +139,7 @@ class Test_bootstrap(unittest.TestCase): self.get_app = pyramid.paster.get_app = DummyGetApp() - class DummyPrepare(object): + class DummyPrepare: def __call__(self, *a, **kw): self.a = a self.kw = kw @@ -166,7 +166,7 @@ class Dummy: pass -class DummyRegistry(object): +class DummyRegistry: settings = {} |
