summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_startfile.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-15526: test_startfile changes the cwd (#1537)Victor Stinner2017-05-101-12/+15
| | | | | | | | | | | | Try to fix test_startfile's inability to clean up after itself in time. Patch by Jeremy Kloth. Fix the following support.rmtree() error while trying to remove the temporary working directory used by Python tests: WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ... Original commit: 8a53dbeb7a9d0ae3e446f36e56cf9acfabe443c1
* Fix a few typos. Patch by Eitan Adler.Ezio Melotti2013-01-271-1/+1
|
* Fix sporadic failure in test_startfile.Nadeem Vawda2011-04-181-0/+6
| | | | | | Wait for the child process to terminate before ending the test, so that the regrtest cleanup code doesn't get an error when it tries to delete the temporary CWD.
* Change more tests to use import_module for the modules thatR. David Murray2009-03-301-1/+1
| | | | | should cause tests to be skipped. Also rename import_function to the more descriptive get_attribute and add a docstring.
* Add import_function method to test.test_support, and modify a number ofR. David Murray2009-03-301-2/+4
| | | | | | | | 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.
* we need os.path too for the normal run on windowsv2.5a1Neal Norwitz2006-04-041-3/+3
|
* Change the import statement so that the test is skipped whenThomas Heller2006-04-041-7/+8
| | | | os.startfile is not present.
* Add a simple test for os.startfile().Thomas Heller2006-04-041-0/+36