Kaydet (Commit) 6f5a2b52 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

skip test_macostools when UCS4 is enabled

üst 9b69ed9d
......@@ -1133,6 +1133,9 @@ class _ExpectedSkips:
"test_applesingle"]
for skip in MAC_ONLY:
self.expected.add(skip)
elif len(u'\0'.encode('unicode-internal')) == 4:
self.expected.add("test_macostools")
if sys.platform != "win32":
# test_sqlite is only reliable on Windows where the library
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment