]> granicus.if.org Git - python/commitdiff
Fix missing string formatting placeholder.
authorGeorg Brandl <georg@python.org>
Mon, 8 Feb 2010 22:40:51 +0000 (22:40 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 8 Feb 2010 22:40:51 +0000 (22:40 +0000)
Lib/test/test_strftime.py

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