diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 13:58:41 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 13:58:41 (GMT) |
commit | ad1fd346b297cf8f03155d95c1135409893b3fac (patch) | |
tree | 8f2d52e81e44c2ea11d8f7372d8161f0b2444b0e /Lib/test/test_urllibnet.py | |
parent | a40b0ef6e24dfb1d4baeee5a2a82e29065bc247c (diff) | |
download | cpython-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.py | 2 |
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 = [] |