Skip to content

Commit 9c58f2c

Browse files
committed
fix review idea
Signed-off-by: Manjusaka <[email protected]>
1 parent 2eefeb3 commit 9c58f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,7 @@ def testfunc(n):
19341934
x += 1.0
19351935
return x
19361936
res, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)
1937-
self.assertEqual(len(res), TIER2_THRESHOLD)
1937+
self.assertEqual(int(res), TIER2_THRESHOLD)
19381938
uops = get_opnames(ex)
19391939
self.assertNotIn("_GUARD_NOS_INT", uops)
19401940
self.assertIn("_LOAD_CONST_INLINE_BORROW", uops)

0 commit comments

Comments
 (0)