[Python-checkins] r78115 - python/trunk/Lib/test/test_strftime.py

georg.brandl python-checkins at python.org
Mon Feb 8 23:40:51 CET 2010


Author: georg.brandl
Date: Mon Feb  8 23:40:51 2010
New Revision: 78115

Log:
Fix missing string formatting placeholder.

Modified:
   python/trunk/Lib/test/test_strftime.py

Modified: python/trunk/Lib/test/test_strftime.py
==============================================================================
--- python/trunk/Lib/test/test_strftime.py	(original)
+++ python/trunk/Lib/test/test_strftime.py	Mon Feb  8 23:40:51 2010
@@ -118,7 +118,7 @@
             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


More information about the Python-checkins mailing list