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 2eefeb3 commit 9c58f2cCopy full SHA for 9c58f2c
Lib/test/test_capi/test_opt.py
@@ -1934,7 +1934,7 @@ def testfunc(n):
1934
x += 1.0
1935
return x
1936
res, ex = self._run_with_optimizer(testfunc, TIER2_THRESHOLD)
1937
- self.assertEqual(len(res), TIER2_THRESHOLD)
+ self.assertEqual(int(res), TIER2_THRESHOLD)
1938
uops = get_opnames(ex)
1939
self.assertNotIn("_GUARD_NOS_INT", uops)
1940
self.assertIn("_LOAD_CONST_INLINE_BORROW", uops)
0 commit comments