From 2cc8163e30aa5e966ab439a872371ca25a9845b2 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 13 Dec 1996 18:12:34 +0000 Subject: 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. --- Lib/test/test_strftime.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v0.12