Commit c20e14c0 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Update the f-string test broken in issue #28385.

parent 02adc570
...@@ -720,7 +720,7 @@ f'{a * x()}'""" ...@@ -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}'",
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment