From: Skip Montanaro Date: Mon, 31 Mar 2003 22:11:45 +0000 (+0000) Subject: backport test skip for test_locale on Mac OS X X-Git-Tag: v2.2.3c1~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18711bce8909731182106abff913eab0861178b6;p=thirdparty%2FPython%2Fcpython.git backport test skip for test_locale on Mac OS X --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 2b1eedb5e0b1..014a87af5c86 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -702,6 +702,7 @@ _expectations = { test_gl test_imgfile test_largefile + test_locale test_linuxaudiodev test_minidom test_nis diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index 0040a20899af..eb14924364ef 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py @@ -1,7 +1,9 @@ -from test_support import verbose +from test_support import verbose, TestSkipped import locale import sys +if sys.platform == 'darwin': + raise TestSkipped("Locale support on MacOSX is minimal and cannot be tested") oldlocale = locale.setlocale(locale.LC_NUMERIC) tloc = "en_US"