[Python-checkins] cpython (merge 3.5 -> default): Fix self.fail() call in test_data_header
berker.peksag
python-checkins at python.org
Sat May 7 09:58:34 EDT 2016
https://hg.python.org/cpython/rev/8d9f6c1f65f9
changeset: 101259:8d9f6c1f65f9
parent: 101257:7edf74098c76
parent: 101258:52a23bdb7177
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat May 07 16:59:01 2016 +0300
summary:
Fix self.fail() call in test_data_header
files:
Lib/test/test_urllibnet.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -184,7 +184,7 @@
try:
time.strptime(datevalue, dateformat)
except ValueError:
- self.fail('Date value not in %r format', dateformat)
+ self.fail('Date value not in %r format' % dateformat)
def test_reporthook(self):
records = []
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list