Skip this test on MacOSX: the locale support is too minimal to make
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 30 Dec 2002 23:02:55 +0000 (23:02 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 30 Dec 2002 23:02:55 +0000 (23:02 +0000)
it pass.

Lib/test/test_locale.py

index 46cbee2b53d741554be4c0f08ae9b2862778ff94..d15bd283bf9e31fea0fd801f4784e0850825e2a4 100644 (file)
@@ -1,7 +1,9 @@
-from test.test_support import verbose
+from test.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"