Skip to content

Commit

Permalink
Fix typo in test_fstring.py (#101823)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoerg authored Feb 11, 2023
1 parent b652d40 commit 3eb12df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_fstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def test_missing_expression(self):
"f'''{\t\f\r\n}'''",
])

# Different error messages are raised when a specfier ('!', ':' or '=') is used after an empty expression
# Different error messages are raised when a specifier ('!', ':' or '=') is used after an empty expression
self.assertAllRaise(SyntaxError, "f-string: expression required before '!'",
["f'{!r}'",
"f'{ !r}'",
Expand Down

0 comments on commit 3eb12df

Please sign in to comment.