Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4dfd458

Browse files
committed
Fix typo in error reporting.
1 parent c1c96d1 commit 4dfd458

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_strftime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def strftest(now):
105105
except ValueError, result:
106106
if verbose:
107107
print "Error for nonstandard '%s' format (%s): %s" % \
108-
(e[0], e[2], str(error))
108+
(e[0], e[2], str(result))
109109
continue
110110
if result == e[1]:
111111
if verbose:

0 commit comments

Comments
 (0)