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_registry.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_registry.py') diff --git a/tests/test_registry.py b/tests/test_registry.py index 81443ce47..ce0370468 100644 --- a/tests/test_registry.py +++ b/tests/test_registry.py @@ -407,7 +407,7 @@ class TestIntrospectable(unittest.TestCase): ) -class DummyIntrospector(object): +class DummyIntrospector: def __init__(self): self.intrs = [] self.relations = [] @@ -429,7 +429,7 @@ class DummyModule: __file__ = '' -class DummyIntrospectable(object): +class DummyIntrospectable: category_name = 'category' discriminator = 'discriminator' title = 'title' @@ -447,5 +447,5 @@ class IDummyEvent(Interface): @implementer(IDummyEvent) -class DummyEvent(object): +class DummyEvent: pass -- cgit v1.2.3