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 d85247e commit eca9248Copy full SHA for eca9248
Lib/test/test_dis.py
@@ -1125,7 +1125,7 @@ def test_bug_46724(self):
1125
self.do_disassembly_test(bug46724, dis_bug46724)
1126
1127
def test_annotate_source_locations(self):
1128
- # Test that __annotate__ code doesn't inherit first AST node positions
+ # See gh-135700
1129
issue_135700 = "1\nx: int"
1130
issue_135700_class = "class A:\n 1\n x: int"
1131
@@ -1142,7 +1142,6 @@ def test_annotate_source_locations(self):
1142
for case_name, annotate_code in test_cases:
1143
with self.subTest(case=case_name):
1144
instructions = list(dis.Bytecode(annotate_code))
1145
- print(instructions)
1146
resume_pos = next(
1147
(
1148
inst.positions
0 commit comments