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_events.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_events.py')
| -rw-r--r-- | tests/test_events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_events.py b/tests/test_events.py index b344738a3..285a84274 100644 --- a/tests/test_events.py +++ b/tests/test_events.py @@ -377,7 +377,7 @@ class TestBeforeRender(unittest.TestCase): self.assertTrue(event.rendering_val is val) -class DummyConfigurator(object): +class DummyConfigurator: def __init__(self): self.subscribed = [] @@ -388,11 +388,11 @@ class DummyConfigurator(object): self.subscribed.append((wrapped, ifaces, predicates)) -class DummyRegistry(object): +class DummyRegistry: pass -class DummyVenusian(object): +class DummyVenusian: def __init__(self): self.attached = [] |
