diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-12-05 09:51:52 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-12-05 09:51:52 (GMT) |
commit | f7fdbdab5b0e49aed23095ae04431a6484543963 (patch) | |
tree | ed44a6e9f10e16d331a3bfb020fa7d2093ff3a33 /Lib/test/test_subprocess.py | |
parent | e2825e9522e2beb3ced43b20cc7eb2e51236bedf (diff) | |
download | cpython-f7fdbdab5b0e49aed23095ae04431a6484543963.zip cpython-f7fdbdab5b0e49aed23095ae04431a6484543963.tar.gz cpython-f7fdbdab5b0e49aed23095ae04431a6484543963.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r-- | Lib/test/test_subprocess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 188f337..4719cc0 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -1416,6 +1416,8 @@ class POSIXProcessTestCase(BaseTestCase): 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 |