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_authentication.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_authentication.py') diff --git a/tests/test_authentication.py b/tests/test_authentication.py index 5b67a30da..6d3b154e7 100644 --- a/tests/test_authentication.py +++ b/tests/test_authentication.py @@ -1962,7 +1962,7 @@ class DummyContext: pass -class DummyCookies(object): +class DummyCookies: def __init__(self, cookie): self.cookie = cookie @@ -2007,7 +2007,7 @@ class DummyCookieHelper: return [] -class DummyAuthTktModule(object): +class DummyAuthTktModule: def __init__( self, timestamp=0, @@ -2034,7 +2034,7 @@ class DummyAuthTktModule(object): self.parse_ticket = parse_ticket - class AuthTicket(object): + class AuthTicket: def __init__(self, secret, userid, remote_addr, **kw): self.secret = secret self.userid = userid -- cgit v1.2.3