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_urldispatch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_urldispatch.py') diff --git a/tests/test_urldispatch.py b/tests/test_urldispatch.py index 5c48bea01..13cf31b32 100644 --- a/tests/test_urldispatch.py +++ b/tests/test_urldispatch.py @@ -660,17 +660,17 @@ class TestCompileRouteFunctional(unittest.TestCase): self.generates('/foo/:abc_def', {'abc_def': '20'}, '/foo/20') -class DummyContext(object): +class DummyContext: """ """ -class DummyRequest(object): +class DummyRequest: scheme = 'http' def __init__(self, **kw): self.__dict__.update(kw) -class DummyRoute(object): +class DummyRoute: def __init__(self, generator): self.generate = generator -- cgit v1.2.3