skip test_macostools when UCS4 is enabled
diff --git a/Lib/test/test_macostools.py b/Lib/test/test_macostools.py
index eea3601..da982d0 100644
--- a/Lib/test/test_macostools.py
+++ b/Lib/test/test_macostools.py
@@ -91,6 +91,9 @@
 
 
 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)