Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7061368

Browse files
committed
Issue #5944: Skip PEP 383 tests on OS X.
1 parent f172637 commit 7061368

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_os.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ def test_setregid(self):
700700
self.assertRaises(OverflowError, os.setregid, 1<<32, 0)
701701
self.assertRaises(OverflowError, os.setregid, 0, 1<<32)
702702

703+
@unittest.skipIf(sys.platform == 'darwin', "tests don't apply to OS X")
703704
class Pep383Tests(unittest.TestCase):
704705
filenames = [b'foo\xf6bar', 'foo\xf6bar'.encode("utf-8")]
705706

0 commit comments

Comments
 (0)