Skip to content

Commit ae2ec65

Browse files
committed
Improve readability of test cases
1 parent 0c1e67f commit ae2ec65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_peepholer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ def test_unoptimized_if_support_killed(self):
25332533
("LOAD_FAST", 0, 1),
25342534
("LOAD_CONST", 0, 2),
25352535
("LOAD_CONST", 0, 3),
2536-
("STORE_FAST_STORE_FAST", 0 << 4 | 1, 4),
2536+
("STORE_FAST_STORE_FAST", ((0 << 4) | 1), 4),
25372537
("POP_TOP", None, 5),
25382538
]
25392539
self.check(insts, insts)
@@ -2548,7 +2548,7 @@ def test_unoptimized_if_aliased(self):
25482548
insts = [
25492549
("LOAD_FAST", 0, 1),
25502550
("LOAD_CONST", 0, 3),
2551-
("STORE_FAST_STORE_FAST", 0 << 4 | 1, 4),
2551+
("STORE_FAST_STORE_FAST", ((0 << 4) | 1), 4),
25522552
]
25532553
self.check(insts, insts)
25542554

0 commit comments

Comments
 (0)