Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/tool/pytest/test/test_conftest1.py::TestPyPyTests::()::test_selection_by_keyword_app

self = <pypy.tool.pytest.test.test_conftest1.TestPyPyTests instance at 0x00007fdb891d8720>

    def test_selection_by_keyword_app(self):
>       passed, failed = subproc_run("-m", "applevel -docstring", innertest)

tool/pytest/test/test_conftest1.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own...el -docstring', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/tool/pytest/test/conftest1_innertest.py']
cur_dir = '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/tool/pytest/test'
test_all = local('/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/test_all.py')
failed = []

    def subproc_run(*args):
        # similar to testdir.inline_run(), but running a subprocess to avoid
        # confusion.  Parses the standard output of test_all.py, so somehow
        # dependent on how it looks like.
        cur_dir = str(py.path.local(__file__).dirpath())
        test_all = py.path.local(__file__).dirpath('..', '..', '..', 'test_all.py')
        args = [sys.executable, str(test_all), "-v"] + map(str, args)
        print '=========>', args
        passed, failed = [], []
        popen = subprocess.Popen(args, stdout=subprocess.PIPE, cwd=cur_dir)
        output, _ = popen.communicate()
    
        for line in output.splitlines(False):
            if line.startswith('conftest1_innertest.py'):
                line = line[len('conftest1_innertest.py'):]
>               testname, result = line.lstrip(':').strip().split()
E               ValueError: expected length 2, got 1

tool/pytest/test/test_conftest1.py:24: ValueError
---------- Captured stdout call ----------
=========> ['/Users/matti/build-worker-x86_64/own-macos-x86-64/build/virt_test/bin/python', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/test_all.py', '-v', '-m', 'applevel -docstring', '/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/tool/pytest/test/conftest1_innertest.py']
builder: own-macos-x86-64 build #1350+
test: pypy/tool/pytest/test/test_conftest1.py::TestPyPyTests::()::test_selection_by_keyword_app