Fix missing string formatting placeholder.
This commit is contained in:
parent
e64c442ff7
commit
0c4783a33c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue