summaryrefslogtreecommitdiff
path: root/tests/test_i18n.py
diff options
context:
space:
mode:
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