skip test_macostools when UCS4 is enabled
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index bad8136..29c165b 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1133,6 +1133,9 @@
                             "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