[Python-checkins] cpython (merge 3.6 -> default): Update the f-string test broken in issue #28385.

serhiy.storchaka python-checkins at python.org
Mon Oct 31 02:13:51 EDT 2016


https://hg.python.org/cpython/rev/931410a04240
changeset: 104841:931410a04240
parent: 104839:e9169a8c0692
parent: 104840:f43078ec598c
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Oct 31 08:13:30 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

AltStyle によって変換されたページ (->オリジナル) /