Change more tests to use import_module for the modules that
commitd9c89394c5b46b0c403c3d433130399f25c7a06b
authorr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 30 Mar 2009 23:05:48 +0000 (30 23:05 +0000)
committerr.david.murray <r.david.murray@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 30 Mar 2009 23:05:48 +0000 (30 23:05 +0000)
tree5db10ee4af7e3d069675fd35865a47ff86e1942d
parent4392dcf984cefe468ea8f5ad62a79af9fd2066b8
Change more tests to use import_module for the modules that
should cause tests to be skipped.  Also rename import_function
to the more descriptive get_attribute and add a docstring.

git-svn-id: http://svn.python.org/projects/python/trunk@70775 6015fed2-1504-0410-9fe1-9d1591cc4771
17 files changed:
Lib/test/test_bsddb3.py
Lib/test/test_bz2.py
Lib/test/test_ctypes.py
Lib/test/test_curses.py
Lib/test/test_dbm.py
Lib/test/test_fork1.py
Lib/test/test_gdbm.py
Lib/test/test_ioctl.py
Lib/test/test_multiprocessing.py
Lib/test/test_nis.py
Lib/test/test_ossaudiodev.py
Lib/test/test_resource.py
Lib/test/test_sqlite.py
Lib/test/test_startfile.py
Lib/test/test_support.py
Lib/test/test_xml_etree_c.py
Lib/test/test_zlib.py