[Python-checkins] r80208 - python/branches/release26-maint/Lib/test/test_locale.py

victor.stinner python-checkins at python.org
Mon Apr 19 13:50:09 CEST 2010


Author: victor.stinner
Date: Mon Apr 19 13:50:08 2010
New Revision: 80208

Log:
Fix r80180 (backport of r80178): SkipTest => unittest.SkipTest in test_locale

The original commit (r80178) was correct. The bug was introduced during the
backport, funny :-)


Modified:
   python/branches/release26-maint/Lib/test/test_locale.py

Modified: python/branches/release26-maint/Lib/test/test_locale.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_locale.py	(original)
+++ python/branches/release26-maint/Lib/test/test_locale.py	Mon Apr 19 13:50:08 2010
@@ -16,7 +16,7 @@
             # The locale test work fine on OSX 10.6, I (ronaldoussoren)
             # haven't had time yet to verify if tests work on OSX 10.5
             # (10.4 is known to be bad)
-            raise SkipTest("Locale support on MacOSX is minimal")
+            raise unittest.SkipTest("Locale support on MacOSX is minimal")
     if sys.platform.startswith("win"):
         tlocs = ("En", "English")
     else:


More information about the Python-checkins mailing list