a bold attempt to fix things broken by MAL's verify patch: import

'verify' iff it's used by a test module...
This commit is contained in:
Fredrik Lundh 2001-01-17 21:51:36 +00:00
parent f27cc5bc74
commit f785042433
48 changed files with 54 additions and 51 deletions

View file

@ -1,4 +1,4 @@
from test_support import verify, verbose
from test_support import verbose
import string, sys
# test string formatting operator (I am not sure if this is being tested
@ -184,7 +184,7 @@ def test_exc(formatstr, args, exception, excmsg):
testformat(formatstr, args)
except exception, exc:
if str(exc) == excmsg:
if verbose:
if verbose:
print "yes"
else:
if verbose: print 'no'