lib-python/3/test/test__opcode.py::unmodified
== PyPy 3.12.13 (f591fa0fd4db, Jul 06 2026, 20:11:58) [PyPy 7.3.24-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_3640342æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1632795456
0:00:00 load avg: 1.21 Run 1 test sequentially in a single process
0:00:00 load avg: 1.21 [1/1] test__opcode
test_stack_effect (test.test__opcode.OpcodeTests.test_stack_effect) ... ok
test_stack_effect_jump (test.test__opcode.OpcodeTests.test_stack_effect_jump) ... FAIL
test_specialization_stats (test.test__opcode.SpecializationStatsTests.test_specialization_stats) ... ERROR
======================================================================
ERROR: test_specialization_stats (test.test__opcode.SpecializationStatsTests.test_specialization_stats)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 73, in test_specialization_stats
specialized_opcodes = [
^
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 76, in <listcomp>
if opcode._inline_cache_entries[opcode.opmap[op]]
~~~~~~~~~~~~^^^^
KeyError: 'BINARY_OP'
======================================================================
FAIL: test_stack_effect_jump (test.test__opcode.OpcodeTests.test_stack_effect_jump)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 41, in test_stack_effect_jump
self.assertEqual(stack_effect(FOR_ITER, 0, jump=True), 1)
^^^^^^^^^^^
AssertionError: -1 != 1
----------------------------------------------------------------------
Ran 3 tests in 0.011s
FAILED (failures=1, errors=1)
0:00:00 load avg: 1.21 [1/1/1] test__opcode failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test__opcode
Total duration: 78 ms
Total tests: run=3 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test__opcode failed
builder: pypy-c-jit-linux-x86-64 build #11848+
test: lib-python/3/test/test__opcode.py::unmodified