mirror of https://github.com/python/cpython
Fix typo in error reporting.
This commit is contained in:
parent
c1c96d1b5c
commit
4dfd458611
|
@ -105,7 +105,7 @@ def strftest(now):
|
||||||
except ValueError, result:
|
except ValueError, result:
|
||||||
if verbose:
|
if verbose:
|
||||||
print "Error for nonstandard '%s' format (%s): %s" % \
|
print "Error for nonstandard '%s' format (%s): %s" % \
|
||||||
(e[0], e[2], str(error))
|
(e[0], e[2], str(result))
|
||||||
continue
|
continue
|
||||||
if result == e[1]:
|
if result == e[1]:
|
||||||
if verbose:
|
if verbose:
|
||||||
|
|
Loading…
Reference in New Issue