mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +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 @@ f'{a * x()}'"""
|
|||
|
||||
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