Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Jul 8, 2022
1 parent 53ba444 commit 33dc4d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,8 @@ def test_complex_single_line_expression(self):
line=1, end_line=1, column=0, end_column=27, occurrence=4)

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

0 comments on commit 33dc4d8

Please sign in to comment.