summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllibnet.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-05-07 13:59:01 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-05-07 13:59:01 (GMT)
commitca716cfbf357ddc05082d82c8bb4377d1a73dd42 (patch)
treeb1342b2ae9a4ba10ce17a955554a37c1bc15d48b /Lib/test/test_urllibnet.py
parentdeab18dfd0e16a75686d99f243f38826385bc8d1 (diff)
parentad1fd346b297cf8f03155d95c1135409893b3fac (diff)
downloadcpython-ca716cfbf357ddc05082d82c8bb4377d1a73dd42.zip
cpython-ca716cfbf357ddc05082d82c8bb4377d1a73dd42.tar.gz
cpython-ca716cfbf357ddc05082d82c8bb4377d1a73dd42.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 4436de7..949716c 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -184,7 +184,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 = []