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:56:39) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_39706æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2824546750
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 3.65 Run 1 test sequentially in a single process
0:00:00 load avg: 3.65 [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 "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_compiler_codegen.py", line 55, in test_for_loop
    self.codegen_test(snippet, expected)
         ^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_compiler_codegen.py", line 12, in codegen_test
    insts = self.generate_code(a)
                 ^^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-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 "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_compiler_codegen.py", line 31, in test_if_expression
    self.codegen_test(snippet, expected)
         ^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_compiler_codegen.py", line 12, in codegen_test
    insts = self.generate_code(a)
                 ^^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-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.004s

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

== Tests result: FAILURE ==

1 test failed:
    test_compiler_codegen

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