summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-14 21:38:03 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-14 21:38:03 (GMT)
commit4dfd458611b706055deccb024f8bf9f27a9e97d6 (patch)
treeb50464594775d3d32617ab56ff160aaa2a8fbc3d
parentc1c96d1b5c5b94edc84c057278a29f4aa7a32453 (diff)
downloadcpython-4dfd458611b706055deccb024f8bf9f27a9e97d6.zip
cpython-4dfd458611b706055deccb024f8bf9f27a9e97d6.tar.gz
cpython-4dfd458611b706055deccb024f8bf9f27a9e97d6.tar.bz2
Fix typo in error reporting.
-rwxr-xr-xLib/test/test_strftime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py
index f568970..1fa03f2 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: