summaryrefslogtreecommitdiff
path: root/tests/test_i18n.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_i18n.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_i18n.py')
-rw-r--r--tests/test_i18n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_i18n.py b/tests/test_i18n.py
index 4ac6bd4e2..b5500af37 100644
--- a/tests/test_i18n.py
+++ b/tests/test_i18n.py
@@ -532,7 +532,7 @@ class TestLocalizerRequestMixin(unittest.TestCase):
self.assertEqual(result.translate('Approve', 'deformsite'), 'Approve')
-class DummyRequest(object):
+class DummyRequest:
def __init__(self):
self.params = {}
self.cookies = {}
@@ -542,7 +542,7 @@ def dummy_negotiator(request):
return 'bogus'
-class DummyTranslations(object):
+class DummyTranslations:
def ugettext(self, text):
return text