rlib/test/test_rgc.py::TestFinalizerQueue::()::test_translated_boehm_ll
self = <rpython.rlib.test.test_rgc.TestFinalizerQueue instance at 0x00000253528ecf20>
def test_translated_boehm_ll(self):
> self._test_translated(use_gc="boehm", llcase=True)
rlib\test\test_rgc.py:698:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\test\test_rgc.py:782: in _test_translated
data = subprocess.check_output([str(exename), '.', '.', '.'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['d:\\systemtemp\\pytest\\usession-pytest3.10-346\\testing_4\\testing_4.exe', '.', '.', '.'],)
kwargs = {}, process = <subprocess.Popen object at 0x0000025354640870>
output = '', unused_err = None, retcode = 3221226505
cmd = ['d:\\systemtemp\\pytest\\usession-pytest3.10-346\\testing_4\\testing_4.exe', '.', '.', '.']
def check_output(*popenargs, **kwargs):
r"""Run command with arguments and return its output as a byte string.
If the exit code was non-zero it raises a CalledProcessError. The
CalledProcessError object will have the return code in the returncode
attribute and output in the output attribute.
The arguments are the same as for the Popen constructor. Example:
>>> check_output(["ls", "-l", "/dev/null"])
'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n'
The stdout argument is not allowed as it is used internally.
To capture standard error in the result, use stderr=STDOUT.
>>> check_output(["/bin/sh", "-c",
... "ls -l non_existent_file ; exit 0"],
... stderr=STDOUT)
'ls: non_existent_file: No such file or directory\n'
"""
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = Popen(stdout=PIPE, *popenargs, **kwargs)
output, unused_err = process.communicate()
retcode = process.poll()
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd, output=output)
E CalledProcessError: Command '['d:\\systemtemp\\pytest\\usession-pytest3.10-346\\testing_4\\testing_4.exe', '.', '.', '.']' returned non-zero exit status 3221226505
d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\subprocess.py:223: CalledProcessError
builder: rpython-win-x86-64 build #404
test: rlib/test/test_rgc/py/TestFinalizerQueue/()/test_translated_boehm_ll