mirror of https://github.com/python/cpython
Fix typo in `test_fstring.py` (#101600)
This commit is contained in:
parent
b41c47cd06
commit
272da55aff
|
@ -667,7 +667,7 @@ x = (
|
|||
"f'''{\t\f\r\n}'''",
|
||||
])
|
||||
|
||||
# Different error messeges are raised when a specfier ('!', ':' or '=') is used after an empty expression
|
||||
# Different error messages are raised when a specfier ('!', ':' or '=') is used after an empty expression
|
||||
self.assertAllRaise(SyntaxError, "f-string: expression required before '!'",
|
||||
["f'{!r}'",
|
||||
"f'{ !r}'",
|
||||
|
|
Loading…
Reference in New Issue