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

pypy/interpreter/test/test_zpy.py::test_pytrace

def test_pytrace():
        output = run(sys.executable, pypypath, '-S',
                     stdin="__pytrace__ = 1\nx = 5\nx")
        assert ('\t<module>:           LOAD_CONST    0 (5)\n'
                '\t<module>:           STORE_NAME    0 (x)\n'
                '\t<module>:           LOAD_CONST    1 (None)\n'
                '\t<module>:           RETURN_VALUE    0 \n'
>               '>>>> ') in output
E       AssertionError: assert '\t<module>:           LOAD_CONST    0 (5)\n\t<module>:           STORE_NAME    0 (x)\n\t<module>:           LOAD_CONST    1 (None)\n\t<module>:           RETURN_VALUE    0 \n>>>> ' in '>>>> Tracing enabled\r\n>>>> \t<module>:           LOAD_CONST    0 (5)\r\n\t<module>:           STORE_NAME    0 (x)\r...T_EXPR    0 5\r\n\r\n\t<module>:           LOAD_CONST    0 (None)\r\n\t<module>:           RETURN_VALUE    0 \r\n>>>> '

interpreter\test\test_zpy.py:114: AssertionError
builder: own-win-x86-64 build #2233
test: pypy/interpreter/test/test_zpy/py/test_pytrace