Skip to content

Commit

Permalink
Merge pull request #47 from Eclips4/fstring-grammar-rebased-after-sprint
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal authored Mar 22, 2023
2 parents 95b5d07 + 277550c commit 0fc633c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Lib/test/test_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,11 +774,6 @@ def test_parenthesized_with_feature_version(self):
ast.parse('with (CtxManager() as example): ...', feature_version=(3, 8))
ast.parse('with CtxManager() as example: ...', feature_version=(3, 8))

def test_debug_f_string_feature_version(self):
ast.parse('f"{x=}"', feature_version=(3, 8))
with self.assertRaises(SyntaxError):
ast.parse('f"{x=}"', feature_version=(3, 7))

def test_assignment_expression_feature_version(self):
ast.parse('(x := 0)', feature_version=(3, 8))
with self.assertRaises(SyntaxError):
Expand Down

0 comments on commit 0fc633c

Please sign in to comment.
  NODES
COMMUNITY 1
Note 1
Project 3
USERS 1