summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-06-14 10:44:23 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-06-14 10:47:42 -0700
commit2a5fd7e54775897719ef78fd5ec8756bc5172733 (patch)
tree987036baa8e431e77da0d2f48ca0c92ae2561335 /tests
parent12bc22b07aa3d5c5a966e44f53836dbf449e63dd (diff)
downloadpython-neutronclient-2a5fd7e54775897719ef78fd5ec8756bc5172733.tar.gz
Remove the monkey patching of _ into the builtins.
Previous _ was monkey patched into builtins whenever certain modules were imported. This removes that and simply imports it when it is needed. Change-Id: I8b7cdc7a8da21ed3e8bc69b18414dfc89e8935b8
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/__init__.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py
index 353303f..1668497 100644
--- a/tests/unit/__init__.py
+++ b/tests/unit/__init__.py
@@ -14,9 +14,3 @@
# under the License.
#
# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
-import gettext
-
-# Because we installed '_' for quantum cli in shell.py, this help unittest
-# have definition of '_'
-gettext.install('quantumclient', unicode=1)