mirror of
https://github.com/python/cpython.git
synced 2025-10-12 18:02:39 +00:00
Update the f-string test broken in issue #28385.
This commit is contained in:
parent
c4a35daa97
commit
13c8f3266a
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ f'{a * x()}'"""
|
||||||
|
|
||||||
def test_errors(self):
|
def test_errors(self):
|
||||||
# see issue 26287
|
# see issue 26287
|
||||||
self.assertAllRaise(TypeError, 'non-empty',
|
self.assertAllRaise(TypeError, 'unsupported',
|
||||||
[r"f'{(lambda: 0):x}'",
|
[r"f'{(lambda: 0):x}'",
|
||||||
r"f'{(0,):x}'",
|
r"f'{(0,):x}'",
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue