From d77c48740f5cd17597693bd0d27e32db725fa3a0 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Wed, 15 Mar 2023 05:20:14 +0900 Subject: gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685) It's not use except in a test, so move it there instead. --- Lib/test/test__opcode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/test/test__opcode.py') diff --git a/Lib/test/test__opcode.py b/Lib/test/test__opcode.py index db831069c7a..fb4ab15f704 100644 --- a/Lib/test/test__opcode.py +++ b/Lib/test/test__opcode.py @@ -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 -- cgit v1.2.3