summaryrefslogtreecommitdiff
path: root/tests/test_authentication.py
diff options
context:
space:
mode:
authorSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
committerSergey Maranchuk <slav0nic@python.su>2020-04-17 22:12:06 +0300
commit6668e43d2d67db4574e08a9d54bd80eb105c1b28 (patch)
tree10eda61b15ae53815af24af956267e2f632a46f7 /tests/test_authentication.py
parent48cf45b0a1ac04e701101fa18778164825edd429 (diff)
downloadpyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.gz
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.tar.bz2
pyramid-6668e43d2d67db4574e08a9d54bd80eb105c1b28.zip
inheriting from `object` not necessary in py3
Diffstat (limited to 'tests/test_authentication.py')
-rw-r--r--tests/test_authentication.py6
1 files changed, 3 insertions, 3 deletions
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