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_scripting.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_scripting.py') diff --git a/tests/test_scripting.py b/tests/test_scripting.py index b8a18f57e..1ba82d74c 100644 --- a/tests/test_scripting.py +++ b/tests/test_scripting.py @@ -213,7 +213,7 @@ class Dummy: dummy_root = Dummy() -class DummyFactory(object): +class DummyFactory: @classmethod def blank(cls, path): req = DummyRequest({'path': path}) @@ -224,7 +224,7 @@ class DummyFactory(object): self.kw = kw -class DummyRegistry(object): +class DummyRegistry: def __init__(self, utilities): self.utilities = utilities @@ -243,7 +243,7 @@ class DummyApp: return dummy_root -class DummyRequest(object): +class DummyRequest: matchdict = None matched_route = None -- cgit v1.2.3