From ad1fd346b297cf8f03155d95c1135409893b3fac Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Sat, 7 May 2016 16:58:41 +0300 Subject: Fix self.fail() call in test_data_header --- Lib/test/test_urllibnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- cgit v0.12