Fix self.fail() call in test_data_header

This commit is contained in:
Berker Peksag 2016-05-07 16:59:01 +03:00
commit ca716cfbf3
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []