Issue #5944: Skip PEP 383 tests on OS X.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index a380505..014d874 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -700,6 +700,7 @@
                 self.assertRaises(OverflowError, os.setregid, 1<<32, 0)
                 self.assertRaises(OverflowError, os.setregid, 0, 1<<32)
 
+    @unittest.skipIf(sys.platform == 'darwin', "tests don't apply to OS X")
     class Pep383Tests(unittest.TestCase):
         filenames = [b'foo\xf6bar', 'foo\xf6bar'.encode("utf-8")]