@@ -943,7 +943,7 @@ def test_binary_specialize(self):
943
943
got = self .get_disassembly (co_unicode , adaptive = True )
944
944
self .do_disassembly_compare (got , binary_op_quicken % "BINARY_OP_ADD_UNICODE 0 (+)" , True )
945
945
946
- binary_subsrc_quicken = """\
946
+ binary_subscr_quicken = """\
947
947
0 RESUME_QUICK 0
948
948
949
949
1 2 LOAD_NAME 0 (a)
@@ -954,12 +954,12 @@ def test_binary_specialize(self):
954
954
co_list = compile ('a[0]' , "<list>" , "eval" )
955
955
self .code_quicken (lambda : exec (co_list , {}, {'a' : [0 ]}))
956
956
got = self .get_disassembly (co_list , adaptive = True )
957
- self .do_disassembly_compare (got , binary_subsrc_quicken % "BINARY_SUBSCR_LIST_INT" , True )
957
+ self .do_disassembly_compare (got , binary_subscr_quicken % "BINARY_SUBSCR_LIST_INT" , True )
958
958
959
959
co_dict = compile ('a[0]' , "<dict>" , "eval" )
960
960
self .code_quicken (lambda : exec (co_dict , {}, {'a' : {0 : '1' }}))
961
961
got = self .get_disassembly (co_dict , adaptive = True )
962
- self .do_disassembly_compare (got , binary_subsrc_quicken % "BINARY_SUBSCR_DICT" , True )
962
+ self .do_disassembly_compare (got , binary_subscr_quicken % "BINARY_SUBSCR_DICT" , True )
963
963
964
964
@cpython_only
965
965
def test_load_attr_specialize (self ):
0 commit comments