Commit Graph

5 Commits

Author SHA1 Message Date
R. David Murray 3db8a3432b 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.
2009-03-30 23:05:48 +00:00
R. David Murray 59beec326a 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.
2009-03-30 19:04:00 +00:00
Neal Norwitz 9ad18bbb52 we need os.path too for the normal run on windows 2006-04-04 19:29:29 +00:00
Thomas Heller b882f47383 Change the import statement so that the test is skipped when
os.startfile is not present.
2006-04-04 18:52:27 +00:00
Thomas Heller 19fd857906 Add a simple test for os.startfile(). 2006-04-04 18:31:35 +00:00