mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
Oops, unittest has no SkipTest exception. I understood the original change:
replace unittest.SkipTest by TestSkipped.
This commit is contained in:
parent
b46d7ba12f
commit
797a49c879
1 changed files with 1 additions and 1 deletions
|
@ -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 unittest.SkipTest("Locale support on MacOSX is minimal")
|
raise TestSkipped("Locale support on MacOSX is minimal")
|
||||||
if sys.platform.startswith("win"):
|
if sys.platform.startswith("win"):
|
||||||
tlocs = ("En", "English")
|
tlocs = ("En", "English")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue