summaryrefslogtreecommitdiff
path: root/tests/test_i18n.py
diff options
context:
space:
mode:
authorBert JW Regeer <xistence@0x58.com>2020-07-12 16:57:45 -0700
committerGitHub <noreply@github.com>2020-07-12 16:57:45 -0700
commitd36be863725aec17573e87e373941cec548290f9 (patch)
tree43ab0c4b6db6c05418340e9e18f188e09a02f9ff /tests/test_i18n.py
parent5269b28e728a470b94f194bf8febd46278b1f356 (diff)
parenta920c2530c130688c5d01ed999a43ccf0cb012fa (diff)
downloadpyramid-d36be863725aec17573e87e373941cec548290f9.tar.gz
pyramid-d36be863725aec17573e87e373941cec548290f9.tar.bz2
pyramid-d36be863725aec17573e87e373941cec548290f9.zip
Merge pull request #3604 from Pylons/update-isort
Update isort to 5.x
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 b8b11830e..206eea290 100644
--- a/tests/test_i18n.py
+++ b/tests/test_i18n.py
@@ -499,8 +499,8 @@ class TestLocalizerRequestMixin(unittest.TestCase):
self.assertEqual(request.localizer, dummy)
def test_localizer_from_mo(self):
- from pyramid.interfaces import ITranslationDirectories
from pyramid.i18n import Localizer
+ from pyramid.interfaces import ITranslationDirectories
localedirs = [localedir]
self.config.registry.registerUtility(
@@ -517,8 +517,8 @@ class TestLocalizerRequestMixin(unittest.TestCase):
self.assertTrue(hasattr(result, 'pluralize'))
def test_localizer_from_mo_bad_mo(self):
- from pyramid.interfaces import ITranslationDirectories
from pyramid.i18n import Localizer
+ from pyramid.interfaces import ITranslationDirectories
localedirs = [localedir]
self.config.registry.registerUtility(