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

This commit is contained in:
Serhiy Storchaka 2016-10-31 08:13:30 +02:00
commit 4eebf8477a

View file

@ -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}'",
])