]> granicus.if.org Git - python/commit
Change the PyUnit-based tests to use the test_main() approach. This
authorFred Drake <fdrake@acm.org>
Thu, 20 Sep 2001 21:33:42 +0000 (21:33 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 20 Sep 2001 21:33:42 +0000 (21:33 +0000)
commit2e2be3760ccdfd4bdde4afdd66f4078022ba3b61
treed1b7dce65ddcecf2f312acfdb319ba656e99c3a1
parent6f7993765ac0989b5d13084240797913627a31d8
Change the PyUnit-based tests to use the test_main() approach.  This
allows using the tests with unittest.py as a script.  The tests will
still run when run as a script themselves.
34 files changed:
Lib/test/test_binhex.py
Lib/test/test_binop.py
Lib/test/test_call.py
Lib/test/test_codecs.py
Lib/test/test_codeop.py
Lib/test/test_commands.py
Lib/test/test_copy_reg.py
Lib/test/test_dircache.py
Lib/test/test_dospath.py
Lib/test/test_fnmatch.py
Lib/test/test_fpformat.py
Lib/test/test_glob.py
Lib/test/test_grp.py
Lib/test/test_hash.py
Lib/test/test_iter.py
Lib/test/test_mailbox.py
Lib/test/test_mhlib.py
Lib/test/test_mimetypes.py
Lib/test/test_operator.py
Lib/test/test_os.py
Lib/test/test_parser.py
Lib/test/test_pkgimport.py
Lib/test/test_pprint.py
Lib/test/test_pyclbr.py
Lib/test/test_quopri.py
Lib/test/test_repr.py
Lib/test/test_rfc822.py
Lib/test/test_sha.py
Lib/test/test_strop.py
Lib/test/test_time.py
Lib/test/test_traceback.py
Lib/test/test_unary.py
Lib/test/test_weakref.py
Lib/test/test_xmllib.py