Fix self.fail() call in test_data_header

This commit is contained in:
Berker Peksag 2016-05-07 16:58:41 +03:00
parent a40b0ef6e2
commit ad1fd346b2
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ def test_data_header(self):
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 = []