Skip to content

Commit ca716cf

Browse files
committed
Fix self.fail() call in test_data_header
2 parents deab18d + ad1fd34 commit ca716cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Lib/test/test_urllibnet.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def test_data_header(self):
184184
try:
185185
time.strptime(datevalue, dateformat)
186186
except ValueError:
187-
self.fail('Date value not in %r format', dateformat)
187+
self.fail('Date value not in %r format' % dateformat)
188188

189189
def test_reporthook(self):
190190
records = []

0 commit comments

Comments
 (0)