changeset: 99461:6f831de45f43 branch: 3.4 parent: 99457:cf86a04d68e7 user: Martin Panter date: Sat Dec 05 09:51:52 2015 +0000 files: Lib/test/test_subprocess.py description: Issue #25764: Skip the test on OS X The OS X buildbots were failing at the second setrlimit() call with EPERM, as if they were trying to raise the hard limit. The call should be keeping the hard limit the same and raising the soft limit back to its original value, so I don't understand the failure. diff -r cf86a04d68e7 -r 6f831de45f43 Lib/test/test_subprocess.py --- a/Lib/test/test_subprocess.py Sat Dec 05 00:27:23 2015 -0800 +++ b/Lib/test/test_subprocess.py Sat Dec 05 09:51:52 2015 +0000 @@ -1416,6 +1416,8 @@ if not enabled: gc.disable() + @unittest.skipIf( + sys.platform == 'darwin', 'setrlimit() seems to fail on OS X') def test_preexec_fork_failure(self): # The internal code did not preserve the previous exception when # re-enabling garbage collection