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

Skip to content

Commit f7fdbda

Browse files
committed
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.
1 parent e2825e9 commit f7fdbda

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_subprocess.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,8 @@ def raise_runtime_error():
14161416
if not enabled:
14171417
gc.disable()
14181418

1419+
@unittest.skipIf(
1420+
sys.platform == 'darwin', 'setrlimit() seems to fail on OS X')
14191421
def test_preexec_fork_failure(self):
14201422
# The internal code did not preserve the previous exception when
14211423
# re-enabling garbage collection

0 commit comments

Comments
 (0)