lib-python/3/test/test__opcode.py::unmodified
== PyPy 3.12.13 (ca22ba800394, Aug 24 2026, 03:34:25) [PyPy 8.0.0-alpha0 with GCC 14.2.1 20250110 (Red Hat 14.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.28 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_2041782æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1170743496
0:00:00 load avg: 2.00 Run 1 test sequentially in a single process
0:00:00 load avg: 2.00 [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 "/buildbot/slave/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test__opcode.py", line 73, in test_specialization_stats
specialized_opcodes = [
^
File "/buildbot/slave/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 "/buildbot/slave/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: 2.00 [1/1/1] test__opcode failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test__opcode
Total duration: 89 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 #11948+
test: lib-python/3/test/test__opcode.py::unmodified