Skip to content

Commit cc4558c

Browse files
authored
Update test_ast.py
1 parent 4c8f777 commit cc4558c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Lib/test/test_ast/test_ast.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ def test_negative_locations_for_compile(self):
177177
# It used to crash on this step:
178178
compile(tree, "<string>", "exec")
179179

180-
# This also must not crash:
181-
ast.parse(tree, optimize=2)
182-
183180
def test_slice(self):
184181
slc = ast.parse("x[::]").body[0].value.slice
185182
self.assertIsNone(slc.upper)

0 commit comments

Comments
 (0)