Skip to content

Commit eca9248

Browse files
Apply suggestions from code review
Co-authored-by: Irit Katriel <[email protected]>
1 parent d85247e commit eca9248

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_dis.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ def test_bug_46724(self):
11251125
self.do_disassembly_test(bug46724, dis_bug46724)
11261126

11271127
def test_annotate_source_locations(self):
1128-
# Test that __annotate__ code doesn't inherit first AST node positions
1128+
# See gh-135700
11291129
issue_135700 = "1\nx: int"
11301130
issue_135700_class = "class A:\n 1\n x: int"
11311131

@@ -1142,7 +1142,6 @@ def test_annotate_source_locations(self):
11421142
for case_name, annotate_code in test_cases:
11431143
with self.subTest(case=case_name):
11441144
instructions = list(dis.Bytecode(annotate_code))
1145-
print(instructions)
11461145
resume_pos = next(
11471146
(
11481147
inst.positions

0 commit comments

Comments
 (0)