Fix missing string formatting placeholder.

This commit is contained in:
Georg Brandl 2010-02-08 22:40:51 +00:00
parent e64c442ff7
commit 0c4783a33c
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class StrftimeTest(unittest.TestCase):
try: try:
result = time.strftime(e[0], now) result = time.strftime(e[0], now)
except ValueError, error: except ValueError, error:
print "Standard '%s' format gaver error:" % (e[0], error) print "Standard '%s' format gave error: %s" % (e[0], error)
continue continue
if re.match(escapestr(e[1], self.ampm), result): if re.match(escapestr(e[1], self.ampm), result):
continue continue