[Python-checkins] cpython (3.5): 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/52a23bdb7177
changeset: 101258:52a23bdb7177
branch: 3.5
parent: 101254:d1a33c93fa1b
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat May 07 16:58:41 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
@@ -185,7 +185,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