summaryrefslogtreecommitdiff
path: root/oslo_i18n/tests/test_public_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_i18n/tests/test_public_api.py')
-rw-r--r--oslo_i18n/tests/test_public_api.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/oslo_i18n/tests/test_public_api.py b/oslo_i18n/tests/test_public_api.py
index c08384a..bf7a89a 100644
--- a/oslo_i18n/tests/test_public_api.py
+++ b/oslo_i18n/tests/test_public_api.py
@@ -12,7 +12,6 @@
"""A few tests that use the public API to ensure the imports work."""
import unittest
-from unittest import mock
import oslo_i18n
from oslo_i18n import _lazy
@@ -24,8 +23,7 @@ class PublicAPITest(unittest.TestCase):
oslo_i18n.TranslatorFactory('domain')
def test_install(self):
- with mock.patch('six.moves.builtins'):
- oslo_i18n.install('domain')
+ oslo_i18n.install('domain')
def test_get_available_languages(self):
oslo_i18n.get_available_languages('domains')