mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685)
It's not use except in a test, so move it there instead.
This commit is contained in:
parent
cdb21ba74d
commit
d77c48740f
2 changed files with 1 additions and 10 deletions
|
@ -69,8 +69,7 @@ class OpcodeTests(unittest.TestCase):
|
|||
|
||||
class SpecializationStatsTests(unittest.TestCase):
|
||||
def test_specialization_stats(self):
|
||||
stat_names = opcode._specialization_stats
|
||||
|
||||
stat_names = ["success", "failure", "hit", "deferred", "miss", "deopt"]
|
||||
specialized_opcodes = [
|
||||
op.lower()
|
||||
for op in opcode._specializations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue