]> granicus.if.org Git - python/commitdiff
Update the f-string test broken in issue #28385.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 31 Oct 2016 06:13:00 +0000 (08:13 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 31 Oct 2016 06:13:00 +0000 (08:13 +0200)
Lib/test/test_fstring.py

index 92995fd83e38d68ba4deca6c7e626445613c3cd4..0af93e088feac58153eafefc95b8e2e9751760c6 100644 (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}'",
                              ])