]> granicus.if.org Git - python/commitdiff
Oops, unittest has no SkipTest exception. I understood the original change:
authorVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Apr 2010 12:20:14 +0000 (12:20 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Mon, 19 Apr 2010 12:20:14 +0000 (12:20 +0000)
replace unittest.SkipTest by TestSkipped.

Lib/test/test_locale.py

index 9528d45157c99eaab6923f9bc489745980b031e1..3f611be1dfc2935ba93adf25605d223d1908bfc5 100644 (file)
@@ -16,7 +16,7 @@ def get_enUS_locale():
             # 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 unittest.SkipTest("Locale support on MacOSX is minimal")
+            raise TestSkipped("Locale support on MacOSX is minimal")
     if sys.platform.startswith("win"):
         tlocs = ("En", "English")
     else: