diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2020-07-12 16:52:48 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2020-07-12 16:52:48 -0700 |
| commit | a920c2530c130688c5d01ed999a43ccf0cb012fa (patch) | |
| tree | 43ab0c4b6db6c05418340e9e18f188e09a02f9ff /tests/test_i18n.py | |
| parent | 4481cfeef8b2fd90a485f2f871e9689750b48220 (diff) | |
| download | pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.tar.gz pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.tar.bz2 pyramid-a920c2530c130688c5d01ed999a43ccf0cb012fa.zip | |
Run isort 5.x across code base
Diffstat (limited to 'tests/test_i18n.py')
| -rw-r--r-- | tests/test_i18n.py | 4 |
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( |
