]> granicus.if.org Git - python/commit
Add import_function method to test.test_support, and modify a number of
authorR. David Murray <rdmurray@bitdance.com>
Mon, 30 Mar 2009 19:04:00 +0000 (19:04 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 30 Mar 2009 19:04:00 +0000 (19:04 +0000)
commit59beec326a4721154a952027cb34c3e2e4612e28
treefd6ff5a872e8b8624a6aad51423f4a0a5ec6eaad
parentbb8cb0e192c1da800fee1d08b13534ca3db4d53a
Add import_function method to test.test_support, and modify a number of
tests that expect to be skipped if imports fail or functions don't
exist to use import_function and import_module.  The ultimate goal is
to change regrtest to not skip automatically on ImportError.  Checking
in now to make sure the buldbots don't show any errors on platforms
I can't direct test on.
20 files changed:
Lib/test/test_aepack.py
Lib/test/test_applesingle.py
Lib/test/test_asynchat.py
Lib/test/test_cd.py
Lib/test/test_cl.py
Lib/test/test_crypt.py
Lib/test/test_fork1.py
Lib/test/test_gl.py
Lib/test/test_grp.py
Lib/test/test_macos.py
Lib/test/test_macostools.py
Lib/test/test_mmap.py
Lib/test/test_posix.py
Lib/test/test_pwd.py
Lib/test/test_scriptpackages.py
Lib/test/test_startfile.py
Lib/test/test_support.py
Lib/test/test_ttk_guionly.py
Lib/test/test_winreg.py
Lib/test/test_winsound.py