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       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
---------- Captured stderr call ----------
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
PyPy 7.3.23-alpha0 in StdObjSpace on top of Python 2.7.18 (startuptime: 65.74 secs)
builder: own-win-x86-64 build #2231
test: pypy/interpreter/test/test_zpy/py/test_pytrace