mirror of
https://github.com/python/cpython.git
synced 2026-03-21 20:26:14 +00:00
Update the f-string test broken in issue #28385.
This commit is contained in:
commit
4eebf8477a
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ def test_invalid_expressions(self):
|
|||
|
||||
def test_errors(self):
|
||||
# see issue 26287
|
||||
self.assertAllRaise(TypeError, 'non-empty',
|
||||
self.assertAllRaise(TypeError, 'unsupported',
|
||||
[r"f'{(lambda: 0):x}'",
|
||||
r"f'{(0,):x}'",
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue