]> granicus.if.org Git - python/commitdiff
Fix typo in error reporting.
authorGuido van Rossum <guido@python.org>
Wed, 14 May 1997 21:38:03 +0000 (21:38 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 14 May 1997 21:38:03 +0000 (21:38 +0000)
Lib/test/test_strftime.py

index f5689709138ab8073e1a5d0fd6361ff9cb4c5692..1fa03f26bb8d5b3cd8560007d9234efe9f9cbc9f 100755 (executable)
@@ -105,7 +105,7 @@ def strftest(now):
        except ValueError, result:
            if verbose:
                print "Error for nonstandard '%s' format (%s): %s" % \
-                     (e[0], e[2], str(error))
+                     (e[0], e[2], str(result))
            continue
        if result == e[1]:
            if verbose: