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

lib-python/3/test/test_compiler_codegen.py::unmodified

== PyPy 3.12.13 (421004c42b8a, Aug 21 2026, 05:17:54) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_2796æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 402848653
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_compiler_codegen
test_for_loop (test.test_compiler_codegen.IsolatedCodeGenTests.test_for_loop) ... ERROR
test_if_expression (test.test_compiler_codegen.IsolatedCodeGenTests.test_if_expression) ... ERROR

======================================================================
ERROR: test_for_loop (test.test_compiler_codegen.IsolatedCodeGenTests.test_for_loop)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_compiler_codegen.py", line 55, in test_for_loop
    self.codegen_test(snippet, expected)
         ^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_compiler_codegen.py", line 12, in codegen_test
    insts = self.generate_code(a)
                 ^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\bytecode_helper.py", line 131, in generate_code
    insts, _ = compiler_codegen(ast, "my_file.py", 0)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

======================================================================
ERROR: test_if_expression (test.test_compiler_codegen.IsolatedCodeGenTests.test_if_expression)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_compiler_codegen.py", line 31, in test_if_expression
    self.codegen_test(snippet, expected)
         ^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_compiler_codegen.py", line 12, in codegen_test
    insts = self.generate_code(a)
                 ^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\bytecode_helper.py", line 131, in generate_code
    insts, _ = compiler_codegen(ast, "my_file.py", 0)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable

----------------------------------------------------------------------
Ran 2 tests in 0.005s

FAILED (errors=2)
0:00:00 [1/1/1] test_compiler_codegen failed (2 errors)

== Tests result: FAILURE ==

1 test failed:
    test_compiler_codegen

Total duration: 268 ms
Total tests: run=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_compiler_codegen failed
builder: pypy-c-jit-win-x86-64 build #2509+
test: lib-python/3/test/test_compiler_codegen.py::unmodified