From bb8ffe17a55691c47f09ba8ae7062e4c30b498b3 Mon Sep 17 00:00:00 2001 From: Clay Gerrard Date: Fri, 24 Jan 2014 01:24:05 -0800 Subject: [PATCH] Move test.unit.locale out of gettext's way When I run unittests on my laptop I get an ImportError from gettext who tries to "from locale import normalize" and says "ImportError: cannot import name normalize". Whit this patch unittests works, not sure why this problem doesn't show up in my other dev environments. Also this seems like good form since 'locale' is already a stdlib module. Change-Id: If0fcd66ce391665b4e4127c610de3246db409a68 --- test/unit/{locale => test_locale}/README | 0 test/unit/{locale => test_locale}/__init__.py | 0 test/unit/{locale => test_locale}/eo.po | 0 .../{locale => test_locale}/eo/LC_MESSAGES/swift.mo | 0 test/unit/{locale => test_locale}/messages.mo | Bin test/unit/{locale => test_locale}/test_locale.py | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename test/unit/{locale => test_locale}/README (100%) rename test/unit/{locale => test_locale}/__init__.py (100%) rename test/unit/{locale => test_locale}/eo.po (100%) rename test/unit/{locale => test_locale}/eo/LC_MESSAGES/swift.mo (100%) rename test/unit/{locale => test_locale}/messages.mo (100%) rename test/unit/{locale => test_locale}/test_locale.py (100%) diff --git a/test/unit/locale/README b/test/unit/test_locale/README similarity index 100% rename from test/unit/locale/README rename to test/unit/test_locale/README diff --git a/test/unit/locale/__init__.py b/test/unit/test_locale/__init__.py similarity index 100% rename from test/unit/locale/__init__.py rename to test/unit/test_locale/__init__.py diff --git a/test/unit/locale/eo.po b/test/unit/test_locale/eo.po similarity index 100% rename from test/unit/locale/eo.po rename to test/unit/test_locale/eo.po diff --git a/test/unit/locale/eo/LC_MESSAGES/swift.mo b/test/unit/test_locale/eo/LC_MESSAGES/swift.mo similarity index 100% rename from test/unit/locale/eo/LC_MESSAGES/swift.mo rename to test/unit/test_locale/eo/LC_MESSAGES/swift.mo diff --git a/test/unit/locale/messages.mo b/test/unit/test_locale/messages.mo similarity index 100% rename from test/unit/locale/messages.mo rename to test/unit/test_locale/messages.mo diff --git a/test/unit/locale/test_locale.py b/test/unit/test_locale/test_locale.py similarity index 100% rename from test/unit/locale/test_locale.py rename to test/unit/test_locale/test_locale.py