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

Lines changed: 2 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy