We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e96ba commit f3d9987Copy full SHA for f3d9987
Lib/test/test_capi/test_opt.py
@@ -2308,7 +2308,7 @@ def testfunc(n):
2308
def test_attr_promotion_failure(self):
2309
# We're not testing for any specific uops here, just
2310
# testing it doesn't crash.
2311
- result = script_helper.run_python_until_end('-c', textwrap.dedent("""
+ script_helper.assert_python_ok('-c', textwrap.dedent("""
2312
import _testinternalcapi
2313
import _opcode
2314
import email
@@ -2333,8 +2333,7 @@ def testfunc(n):
2333
testfunc(_testinternalcapi.TIER2_THRESHOLD)
2334
ex = get_first_executor(testfunc)
2335
assert ex is not None
2336
- """), PYTHON_JIT="1")
2337
- self.assertEqual(result[0].rc, 0, result)
+ """))
2338
2339
2340
def global_identity(x):
0 commit comments