We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c8f777 commit cc4558cCopy full SHA for cc4558c
1 file changed
Lib/test/test_ast/test_ast.py
@@ -177,9 +177,6 @@ def test_negative_locations_for_compile(self):
177
# It used to crash on this step:
178
compile(tree, "<string>", "exec")
179
180
- # This also must not crash:
181
- ast.parse(tree, optimize=2)
182
-
183
def test_slice(self):
184
slc = ast.parse("x[::]").body[0].value.slice
185
self.assertIsNone(slc.upper)
0 commit comments