Kaydet (Commit) e2028797 authored tarafından Victor Stinner's avatar Victor Stinner

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 :-)
üst efa19849
...@@ -16,7 +16,7 @@ def get_enUS_locale(): ...@@ -16,7 +16,7 @@ def get_enUS_locale():
# The locale test work fine on OSX 10.6, I (ronaldoussoren) # 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 # haven't had time yet to verify if tests work on OSX 10.5
# (10.4 is known to be bad) # (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"): if sys.platform.startswith("win"):
tlocs = ("En", "English") tlocs = ("En", "English")
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment