From 4dfd458611b706055deccb024f8bf9f27a9e97d6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 May 1997 21:38:03 +0000 Subject: [PATCH] Fix typo in error reporting. --- Lib/test/test_strftime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index f5689709138..1fa03f26bb8 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -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: