Skip to content

Commit 33dc4d8

Browse files
committed
Update comment
1 parent 53ba444 commit 33dc4d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_compile.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,8 @@ def test_complex_single_line_expression(self):
11821182
line=1, end_line=1, column=0, end_column=27, occurrence=4)
11831183

11841184
def test_multiline_assert_rewritten_as_method_call(self):
1185-
# GH-94694
1185+
# GH-94694: Copying location information from a "real" node to a
1186+
# handwritten one should always be valid!
11861187
tree = ast.parse("assert (\n42\n)")
11871188
old_node = tree.body[0]
11881189
new_node = ast.Expr(

0 commit comments

Comments
 (0)