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

pypy/tool/pytest/test/test_appsupport.py::test_pypy_collection

testdir = <Testdir local('/tmp/pytest/pytest-of-buildslave/pytest-8444/test_pypy_collection0')>

    def test_pypy_collection(testdir):
        testdir.makepyfile("""
            def test_func():
                pass
            class TestClassInt:
                def test_method(self, space):
                    pass
            class AppTestClass:
                def test_method(self):
                    pass
        """)
        testdir.makepyfile(apptest_collection="""
            def test_app():
                pass
        """)
        setpypyconftest(testdir)
        result = testdir.runpytest("--collectonly")
>       assert result.ret == 0
E       assert 1 == 0
E        +  where 1 = <_pytest.pytester.RunResult object at 0x7fa429aec550>.ret

/build_dir/own-linux-x86-64/build/pypy/tool/pytest/test/test_appsupport.py:32: AssertionError
builder: own-linux-x86-64 build #10807
test: pypy/tool/pytest/test/test_appsupport/py/test_pypy_collection