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_userlist.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_userlist.py')
-rw-r--r-- | Lib/test/test_userlist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_userlist.py b/Lib/test/test_userlist.py index da866cc..e655d1f 100644 --- a/Lib/test/test_userlist.py +++ b/Lib/test/test_userlist.py @@ -3,8 +3,9 @@ from UserList import UserList from test_support import TestFailed -# Use check instead of verify(so -O doesn't render the) +# Use check instead of assert so -O doesn't render the # test useless. +# XXX: could use the verify function in test_support instead def check(predicate, msg): if not predicate: raise TestFailed(msg + " failed") |