mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
e2825e9522
commit
f7fdbdab5b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue