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_config/test_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_config/test_routes.py') diff --git a/tests/test_config/test_routes.py b/tests/test_config/test_routes.py index bbafa8784..8227784ec 100644 --- a/tests/test_config/test_routes.py +++ b/tests/test_config/test_routes.py @@ -332,7 +332,7 @@ class DummyRequest: self.cookies = {} -class DummyAccept(object): +class DummyAccept: def __init__(self, *matches, **kw): self.matches = list(matches) self.contains = kw.pop('contains', False) -- cgit v1.2.3