From: Berker Peksag Date: Sat, 7 May 2016 13:58:41 +0000 (+0300) Subject: Fix self.fail() call in test_data_header X-Git-Tag: v3.6.0a1~61^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad1fd346b297cf8f03155d95c1135409893b3fac;p=thirdparty%2FPython%2Fcpython.git Fix self.fail() call in test_data_header --- diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index e99428f41056..b811930bbc75 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 = []