diff options
author | Barry Warsaw <barry@python.org> | 1996-12-13 18:12:34 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1996-12-13 18:12:34 (GMT) |
commit | 2cc8163e30aa5e966ab439a872371ca25a9845b2 (patch) | |
tree | 8498006ab29b43ef96395caee5fa4f2e762db3b7 /Lib | |
parent | 4c23b5fdbcb48cc1254035e8947e447aad4518cf (diff) | |
download | cpython-2cc8163e30aa5e966ab439a872371ca25a9845b2.zip cpython-2cc8163e30aa5e966ab439a872371ca25a9845b2.tar.gz cpython-2cc8163e30aa5e966ab439a872371ca25a9845b2.tar.bz2 |
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.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/test_strftime.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index 28ae4c6..ca0e48e 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -91,8 +91,7 @@ for e in expectations: 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) |