Skip to content

Commit d85247e

Browse files
Update Lib/test/test_dis.py
Co-authored-by: Irit Katriel <[email protected]>
1 parent aed06b7 commit d85247e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_dis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def test_bug_46724(self):
11241124
# Test that negative operargs are handled properly
11251125
self.do_disassembly_test(bug46724, dis_bug46724)
11261126

1127-
def test_annotate_no_spurious_first_node_positions(self):
1127+
def test_annotate_source_locations(self):
11281128
# Test that __annotate__ code doesn't inherit first AST node positions
11291129
issue_135700 = "1\nx: int"
11301130
issue_135700_class = "class A:\n 1\n x: int"

0 commit comments

Comments
 (0)