summaryrefslogtreecommitdiff
path: root/tests/test_i18n.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-04-23 17:59:37 -0500
committerGitHub <noreply@github.com>2020-04-23 17:59:37 -0500
commit4f5708909879cfb399e6d586df68acadc9990ed8 (patch)
tree50cc251eb0588bc6d6eb8e1940581022920a7d9c /tests/test_i18n.py
parent48cf45b0a1ac04e701101fa18778164825edd429 (diff)
parent6a249329b2e4528bd64b46b9a62c53505dec67a9 (diff)
downloadpyramid-4f5708909879cfb399e6d586df68acadc9990ed8.tar.gz
pyramid-4f5708909879cfb399e6d586df68acadc9990ed8.tar.bz2
pyramid-4f5708909879cfb399e6d586df68acadc9990ed8.zip
Merge pull request #3571 from slav0nic/py3features
py3 features
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