summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_locale.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-30 23:02:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-30 23:02:55 (GMT)
commit06f0cef1ca6272bd0244ea6ab30b5b5c79eaeaae (patch)
tree805aa966bddb276f82d08c1cb46fcaaeefa434b9 /Lib/test/test_locale.py
parent66162de80daebd6f0d267ed4fc4a014f59795301 (diff)
downloadcpython-06f0cef1ca6272bd0244ea6ab30b5b5c79eaeaae.zip
cpython-06f0cef1ca6272bd0244ea6ab30b5b5c79eaeaae.tar.gz
cpython-06f0cef1ca6272bd0244ea6ab30b5b5c79eaeaae.tar.bz2
Skip this test on MacOSX: the locale support is too minimal to make
it pass.
Diffstat (limited to 'Lib/test/test_locale.py')
-rw-r--r--Lib/test/test_locale.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py
index 46cbee2..d15bd28 100644
--- a/Lib/test/test_locale.py
+++ b/Lib/test/test_locale.py
@@ -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"