summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-31 06:13:00 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-31 06:13:00 (GMT)
commit13c8f3266a09e19c3c89c118b46b4205bc2a0082 (patch)
treeff2b62440203ea941afd8e94802a099733156a6d
parentc4a35daa9771fbdcc58cad4656b8680541623e0e (diff)
downloadcpython-13c8f3266a09e19c3c89c118b46b4205bc2a0082.zip
cpython-13c8f3266a09e19c3c89c118b46b4205bc2a0082.tar.gz
cpython-13c8f3266a09e19c3c89c118b46b4205bc2a0082.tar.bz2
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 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}'",
])