From: Mark Dickinson Date: Tue, 5 May 2009 21:34:59 +0000 (+0000) Subject: Issue #5944: Skip PEP 383 tests on OS X. X-Git-Tag: v3.1b1~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70613685ad4f22a9a05c3f4417e81b0bc9d05c34;p=python Issue #5944: Skip PEP 383 tests on OS X. --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index a380505da6..014d874f4d 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -700,6 +700,7 @@ if sys.platform != 'win32': 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")]