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 3a90988 commit 81b53bdCopy full SHA for 81b53bd
Lib/test/test_capi/test_opt.py
@@ -3101,6 +3101,7 @@ def testfunc(n):
3101
def test_143026(self):
3102
# https://github.com/python/cpython/issues/143026
3103
3104
+ result = script_helper.run_python_until_end('-c', textwrap.dedent("""
3105
import gc
3106
thresholds = gc.get_threshold()
3107
try:
@@ -3113,6 +3114,8 @@ def f1():
3113
3114
f1()
3115
finally:
3116
gc.set_threshold(*thresholds)
3117
+ """), PYTHON_JIT="1")
3118
+ self.assertEqual(result[0].rc, 0, result)
3119
3120
3121
def global_identity(x):
0 commit comments