Skip to content

Commit f3d9987

Browse files
Address review
1 parent 97e96ba commit f3d9987

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,7 +2308,7 @@ def testfunc(n):
23082308
def test_attr_promotion_failure(self):
23092309
# We're not testing for any specific uops here, just
23102310
# testing it doesn't crash.
2311-
result = script_helper.run_python_until_end('-c', textwrap.dedent("""
2311+
script_helper.assert_python_ok('-c', textwrap.dedent("""
23122312
import _testinternalcapi
23132313
import _opcode
23142314
import email
@@ -2333,8 +2333,7 @@ def testfunc(n):
23332333
testfunc(_testinternalcapi.TIER2_THRESHOLD)
23342334
ex = get_first_executor(testfunc)
23352335
assert ex is not None
2336-
"""), PYTHON_JIT="1")
2337-
self.assertEqual(result[0].rc, 0, result)
2336+
"""))
23382337

23392338

23402339
def global_identity(x):

0 commit comments

Comments
 (0)