diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-17 21:51:36 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-17 21:51:36 (GMT) |
commit | f785042433f0c43ed1ba2ba0388fc51d79bcf5c3 (patch) | |
tree | bc76d2b9fc810d645ca3648bc1c4fdac9bb0a769 /Lib/test/test_format.py | |
parent | f27cc5bc74372032ce9c42e9f6321458df6da2f7 (diff) | |
download | cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.zip cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.tar.gz cpython-f785042433f0c43ed1ba2ba0388fc51d79bcf5c3.tar.bz2 |
a bold attempt to fix things broken by MAL's verify patch: import
'verify' iff it's used by a test module...
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r-- | Lib/test/test_format.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py index a85c9f5..c57917f 100644 --- a/Lib/test/test_format.py +++ b/Lib/test/test_format.py @@ -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' |