mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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:
parent
f27cc5bc74
commit
f785042433
48 changed files with 54 additions and 51 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue