From: Serhiy Storchaka Date: Mon, 31 Oct 2016 06:13:00 +0000 (+0200) Subject: Update the f-string test broken in issue #28385. X-Git-Tag: v3.6.0b3~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13c8f3266a09e19c3c89c118b46b4205bc2a0082;p=python Update the f-string test broken in issue #28385. --- diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 92995fd83e..0af93e088f 100644 --- a/Lib/test/test_fstring.py +++ b/Lib/test/test_fstring.py @@ -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}'", ])