From: Victor Stinner Date: Mon, 19 Apr 2010 12:20:14 +0000 (+0000) Subject: Oops, unittest has no SkipTest exception. I understood the original change: X-Git-Tag: v2.6.6rc1~440 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=797a49c8792b0ebd3babd3a2f3919f078f85924f;p=python Oops, unittest has no SkipTest exception. I understood the original change: replace unittest.SkipTest by TestSkipped. --- diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index 9528d45157..3f611be1df 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py @@ -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: