From 6668e43d2d67db4574e08a9d54bd80eb105c1b28 Mon Sep 17 00:00:00 2001 From: Sergey Maranchuk Date: Fri, 17 Apr 2020 22:12:06 +0300 Subject: inheriting from `object` not necessary in py3 --- tests/test_events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_events.py') 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 = [] -- cgit v1.2.3