summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test__opcode.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test__opcode.py b/Lib/test/test__opcode.py
index f6d8c73..6bbab53 100644
--- a/Lib/test/test__opcode.py
+++ b/Lib/test/test__opcode.py
@@ -82,10 +82,12 @@ class SpecializationStatsTests(unittest.TestCase):
self.assertCountEqual(stats.keys(), specialized_opcodes)
self.assertCountEqual(
stats['load_attr'].keys(),
- stat_names + ['fails'])
+ stat_names + ['specialization_failure_kinds'])
for sn in stat_names:
self.assertIsInstance(stats['load_attr'][sn], int)
- self.assertIsInstance(stats['load_attr']['specialization_failure_kinds'], tuple)
+ self.assertIsInstance(
+ stats['load_attr']['specialization_failure_kinds'],
+ tuple)
for v in stats['load_attr']['specialization_failure_kinds']:
self.assertIsInstance(v, int)