File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2310,7 +2310,6 @@ def test_attr_promotion_failure(self):
23102310 # testing it doesn't crash.
23112311 result = script_helper .run_python_until_end ('-c' , textwrap .dedent ("""
23122312 import _testinternalcapi
2313- import opcode
23142313 import _opcode
23152314 import email
23162315
@@ -2324,9 +2323,6 @@ def get_first_executor(func):
23242323 pass
23252324 return None
23262325
2327- def get_opnames(ex):
2328- return {item[0] for item in ex}
2329-
23302326 def testfunc(n):
23312327 for _ in range(n):
23322328 email.jit_testing = None
@@ -2335,6 +2331,8 @@ def testfunc(n):
23352331
23362332
23372333 testfunc(_testinternalcapi.TIER2_THRESHOLD)
2334+ ex = get_first_executor(testfunc)
2335+ assert ex is not None
23382336 """ ), PYTHON_JIT = "1" )
23392337 self .assertEqual (result [0 ].rc , 0 , result )
23402338
You can’t perform that action at this time.
0 commit comments