◐ Shell
clean mode source ↗

bpo-46329: Fix test failure when `Py_STATS` is enabled by brandtbucher · Pull Request #31511 · python/cpython

======================================================================
FAIL: test_specialization_stats (test.test__opcode.SpecializationStatsTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/brandtbucher/cpython/Lib/test/test__opcode.py", line 81, in test_specialization_stats
    self.assertCountEqual(stats.keys(), specialized_opcodes)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Element counts were not equal:
First has 0, Second has 1:  'precall'

----------------------------------------------------------------------