mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix typo in test_fstring.py (#101823)
This commit is contained in:
parent
b652d40f1c
commit
3eb12df8b5
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ x = (
|
|||
"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}'",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue