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

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

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 07:29:29) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-4.19.90-2202.1.0.0136.oe1.aarch64-aarch64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_233635æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 3471556734
0:00:00 load avg: 1.74 Run 1 test sequentially in a single process
0:00:00 load avg: 1.74 [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-aarch64/build/lib-python/3/test/test__opcode.py", line 73, in test_specialization_stats
    specialized_opcodes = [
                          ^
  File "/build_dir/pypy-c-jit-linux-aarch64/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-aarch64/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.022s

FAILED (failures=1, errors=1)
0:00:00 load avg: 1.74 [1/1/1] test__opcode failed (1 error, 1 failure)

== Tests result: FAILURE ==

1 test failed:
    test__opcode

Total duration: 166 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-aarch64 build #2943+
test: lib-python/3/test/test__opcode.py::unmodified