pypy/module/pypyjit/test_pypy_c/test_boolrewrite.py::TestBoolRewrite::()::test_boolrewrite_allcases_reflex::[110]
self = <pypy.module.pypyjit.test_pypy_c.test_boolrewrite.TestBoolRewrite object at 0x00007fb170c97be8>
src = '\n def main():\n sa = 0\n for i in range... else:\n sa += 20000\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 0x00007fb1629b7c90>
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-x86-64 build #1279+
test: pypy/module/pypyjit/test_pypy_c/test_boolrewrite.py::TestBoolRewrite::()::test_boolrewrite_allcases_reflex::[110]