8000 fix tests · python/cpython@9b15f9e · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b15f9e

Browse files
fix tests
1 parent bb6137a commit 9b15f9e

File tree

6 files changed

+469
-650
lines changed

6 files changed

+469
-650
lines changed

Lib/test/test_capi/test_opt.p 8073 y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def testfunc(loops):
680680
self.assertIsNotNone(ex)
681681
self.assertEqual(res, 1)
682682
binop_count = [opname for opname, _, _ in ex if opname == "_BINARY_OP_ADD_INT"]
683-
self.assertEqual(len(binop_count), 0)
683+
self.assertEqual(len(binop_count), 2)
684684
uops = {opname for opname, _, _ in ex}
685685
self.assertNotIn("_SHRINK_STACK", uops)
686686
iter_next_count = [opname for opname, _, _ in ex if opname == "_ITER_NEXT_RANGE"]

0 commit comments

Comments
 (0)
0