summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-31 08:13:30 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-31 08:13:30 +0200
commit4eebf8477a20b256eccfbcd0fd9ef144f4c7e2af (patch)
tree1369b1f7fb21b0096b2d597b9c554515e536e731
parent40926a8b2e0f703cd02d761ad1f4e5626ba0254f (diff)
parent13c8f3266a09e19c3c89c118b46b4205bc2a0082 (diff)
downloadcpython-git-4eebf8477a20b256eccfbcd0fd9ef144f4c7e2af.tar.gz
Update the f-string test broken in issue #28385.
-rw-r--r--Lib/test/test_fstring.py2
1 files changed, 1 insertions, 1 deletions
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}'",
])