mirror of https://github.com/python/cpython.git
nonstandard_expectations is only added when in verbose mode, so we
don't need the if test for verbosity when checking for results of an unsupported option.
This commit is contained in:
parent
4c23b5fdbc
commit
2cc8163e30
|
@ -91,8 +91,7 @@
|
|||
result = time.strftime(e[0], now)
|
||||
if result == e[1]: continue
|
||||
if result[0] == '%':
|
||||
if verbose:
|
||||
print "Does not appear to support '%s' format" % e[0]
|
||||
print "Does not appear to support '%s' format" % e[0]
|
||||
else:
|
||||
print "Conflict for %s (%s):" % (e[0], e[2])
|
||||
print " Expected %s, but got %s" % (e[1], result)
|
||||
|
|
Loading…
Reference in New Issue