summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllibnet.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-05-07 13:58:41 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-05-07 13:58:41 (GMT)
commitad1fd346b297cf8f03155d95c1135409893b3fac (patch)
tree8f2d52e81e44c2ea11d8f7372d8161f0b2444b0e /Lib/test/test_urllibnet.py
parenta40b0ef6e24dfb1d4baeee5a2a82e29065bc247c (diff)
downloadcpython-ad1fd346b297cf8f03155d95c1135409893b3fac.zip
cpython-ad1fd346b297cf8f03155d95c1135409893b3fac.tar.gz
cpython-ad1fd346b297cf8f03155d95c1135409893b3fac.tar.bz2
Fix self.fail() call in test_data_header
Diffstat (limited to 'Lib/test/test_urllibnet.py')
-rw-r--r--Lib/test/test_urllibnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
index e99428f..b811930 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -185,7 +185,7 @@ class urlretrieveNetworkTests(unittest.TestCase):
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 = []