pypy/module/pypyjit/test_pypy_c/test_boolrewrite.py::TestBoolRewrite::()::test_boolrewrite_ptr::[14]
self = <pypy.module.pypyjit.test_pypy_c.test_boolrewrite.TestBoolRewrite object at 0x000000012041f408>
src = '\n class tst(object):\n pass\n def main():\n ... if i > 750:\n a = b\n return sa\n '
args = [], jitopts = {}
def run_and_check(self, src, args=[], **jitopts):
> log1 = self.run(src, args, threshold=-1) # without the JIT
pypy/module/pypyjit/test_pypy_c/test_00_model.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pypy/module/pypyjit/test_pypy_c/test_00_model.py:67: in run
stderr=subprocess.PIPE)
lib-python/2.7/subprocess.py:409: in __init__
errread, errwrite)
lib-python/2.7/subprocess.py:958: in _execute_child
errpipe_read, errpipe_write = self.pipe_cloexec()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <subprocess.Popen object at 0x00000001223ee1a8>
def pipe_cloexec(self):
"""Create a pipe with FDs set CLOEXEC."""
# Pipes' FDs are set CLOEXEC by default because we don't want them
# to be inherited by other subprocesses: the CLOEXEC flag is removed
# from the child's FDs by _dup2(), between fork() and exec().
# This is not atomic: we would need the pipe2() syscall for that.
> r, w = os.pipe()
E OSError: [Errno 24] Too many open files
lib-python/2.7/subprocess.py:895: OSError
builder: pypy-c-jit-macos-arm64 build #1252+
test: pypy/module/pypyjit/test_pypy_c/test_boolrewrite.py::TestBoolRewrite::()::test_boolrewrite_ptr::[14]