[Python-checkins] cpython (3.6): Update the f-string test broken in issue #28385.
serhiy.storchaka
python-checkins at python.org
Mon Oct 31 02:13:50 EDT 2016
https://hg.python.org/cpython/rev/f43078ec598c
changeset: 104840:f43078ec598c
branch: 3.6
parent: 104838:ea4cc65fc0fc
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Oct 31 08:13:00 2016 +0200
summary:
Update the f-string test broken in issue #28385.
files:
Lib/test/test_fstring.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_fstring.py b/Lib/test/test_fstring.py
--- a/Lib/test/test_fstring.py
+++ b/Lib/test/test_fstring.py
@@ -720,7 +720,7 @@
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}'",
])
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list