summaryrefslogtreecommitdiff
path: root/Lib/test/test_macostools.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-19 21:39:06 +0000
committerBenjamin Peterson <benjamin@python.org>2008-06-19 21:39:06 +0000
commit6f5a2b52ae769ba1833aef8a52b6ab89921ee8c6 (patch)
treea982a1c281804cea3011ce9c2ddd5e356037c7d3 /Lib/test/test_macostools.py
parent9b69ed9d6733aacca64d043f555af263f98b7df6 (diff)
downloadcpython-git-6f5a2b52ae769ba1833aef8a52b6ab89921ee8c6.tar.gz
skip test_macostools when UCS4 is enabled
Diffstat (limited to 'Lib/test/test_macostools.py')
-rw-r--r--Lib/test/test_macostools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py
index eea3601cf3..da982d0bac 100644
--- a/Lib/test/test_macostools.py
+++ b/Lib/test/test_macostools.py
@@ -91,6 +91,9 @@ class TestMacostools(unittest.TestCase):
def test_main():
+ # Skip on wide unicode
+ if len(u'\0'.encode('unicode-internal')) == 4:
+ raise test_support.TestSkipped("test_macostools is broken in USC4")
test_support.run_unittest(TestMacostools)