Skip to content

Commit a10bbbb

Browse files
committed
update test
Signed-off-by: Manjusaka <me@manjusaka.me>
1 parent 27e5bc8 commit a10bbbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2538,8 +2538,9 @@ class C:
25382538

25392539
for i in range(n):
25402540
c.x = i
2541+
return c.x
25412542
res, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)
2542-
self.assertEqual(res, None)
2543+
self.assertEqual(res, TIER2_THRESHOLD - 1)
25432544
self.assertIsNotNone(ex)
25442545
uops = get_opnames(ex)
25452546

0 commit comments

Comments
 (0)