Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | SF #1479181: split open() and file() from being aliases for each other. | Neal Norwitz | 2006-05-02 | 1 | -2/+2 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2005-03-28 | 1 | -1/+1 | |
| | ||||||
* | Tweak test_communicate_stderr so that it works when run under a pydebug build. | Brett Cannon | 2005-03-05 | 1 | -1/+3 | |
| | ||||||
* | Only run extensive subprocess tests if -usubprocess to regrtest is ↵ | Peter Astrand | 2005-03-03 | 1 | -3/+4 | |
| | | | | specified. Fixes #1124637 | |||||
* | Added three more testcases: Using communicate with only one of | Peter Astrand | 2005-03-03 | 1 | -0/+23 | |
| | | | | stdin/stdout/stderr redirected. | |||||
* | New subprocess utility function: check_call. Closes #1071764. | Peter Astrand | 2005-01-01 | 1 | -0/+16 | |
| | ||||||
* | Raise TypeError if bufsize argument is not an integer. Patch 1071755, ↵ | Peter Astrand | 2004-11-30 | 1 | -0/+11 | |
| | | | | slightly modified. | |||||
* | Remove tempfile after use in test_call_string. | Peter Astrand | 2004-11-17 | 1 | -1/+2 | |
| | | | | In test_args_string, remove the tempfile before assertEqual. | |||||
* | Use os.chdir/os.getcwd instead of os.path.realpath, to support Tru64 | Peter Astrand | 2004-11-12 | 1 | -1/+6 | |
| | | | | TEMP dirs with {memb} strings. Fixes #1063571. | |||||
* | Removed test_close_fds, because it's too unreliable. We simply cannot | Peter Astrand | 2004-10-21 | 1 | -10/+0 | |
| | | | | | know that the newly-started Python process only has 3 filedescriptors open. Fixes bug 1048808. | |||||
* | remove_stderr_debug_decorations(): Always try the substitution. Else | Tim Peters | 2004-10-14 | 1 | -3/+1 | |
| | | | | | this test failed under the combination of passing -O to a debug-build Python. Now all 4 of those pass ({debug, release} x {-O, no -O}). | |||||
* | Don't spend quite as much time looking for leaks on Windows, where | Fredrik Lundh | 2004-10-13 | 1 | -2/+4 | |
| | | | | it's rather expensive to create new processes. | |||||
* | normalize case when comparing directory names (problem reported by | Fredrik Lundh | 2004-10-13 | 1 | -1/+2 | |
| | | | | "Khalid A. B." on python-dev) | |||||
* | New helper remove_stderr_debug_decorations(). This test passes in a | Tim Peters | 2004-10-13 | 1 | -7/+24 | |
| | | | | | debug build on Windows now. More applications of the helper may be needed on non-Windows platforms. | |||||
* | Kill several problems at once: test_poll() failed sometimes for me. | Tim Peters | 2004-10-13 | 1 | -6/+11 | |
| | | | | | | | | | | | Turns out the mysterious "expected output" file contained exactly N dots, because test_poll() has a loop that *usually* went around N times, printing one dot on each loop trip. But there's no guarantee of that, because the exact value of N depended on the vagaries of scheduling time.sleep()s across two different processes. So stopped printing dots, and got rid of the expected output file. Add a loop counter instead, and verify that the loop goes around at least a couple of times. Also cut the minimum time needed for this test from 4 seconds to 1. | |||||
* | test_stdout_none(): Don't print "banana" to the screen in the middle | Tim Peters | 2004-10-13 | 1 | -2/+5 | |
| | | | | | of the test. It's testing stdout in a different process, so it has to print something, but I didn't find "banana" to be self-explanatory. | |||||
* | Windows test_creationflags() test: print msg to stderr informing the | Tim Peters | 2004-10-13 | 1 | -1/+2 | |
| | | | | | | tester that a DOS box is expected to flash. Slash the sleep from 2 seconds to a quarter second (why would we want to wait 2 seconds just to stare at a DOS box?). | |||||
* | XXX about extreme expense of test_no_leaking() on Windows. I'm not sure | Tim Peters | 2004-10-13 | 1 | -0/+1 | |
| | | | | | | what this is trying to do. If it's necessary for it to create > 1000 processes, it should be controlled by a new resource and not run by default on Windows. | |||||
* | Experience with Zope2's tests showed it's a Bad Idea to make unittest | Tim Peters | 2004-10-12 | 1 | -45/+35 | |
| | | | | | | display a test's docstring as "the name" of the test. So changed most test docstrings to comments, and removed the clearly useless ones. Now unittest reports the actual names of the test methods. | |||||
* | Wrap long lines. | Tim Peters | 2004-10-12 | 1 | -43/+67 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2004-10-12 | 1 | -17/+16 | |
| | ||||||
* | Added Peter Astrand's subprocess module. | Fredrik Lundh | 2004-10-12 | 1 | -0/+514 | |