From 13c8f3266a09e19c3c89c118b46b4205bc2a0082 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 31 Oct 2016 08:13:00 +0200 Subject: Update the f-string test broken in issue #28385. --- Lib/test/test_fstring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py index 92995fd..0af93e0 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}'", ]) -- cgit v0.12