summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_popen2.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 75143 via svnmerge fromPhilip Jenvey2009-09-291-0/+26
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75143 | philip.jenvey | 2009-09-29 12:10:15 -0700 (Tue, 29 Sep 2009) | 5 lines #5329: fix os.popen* regression from 2.5: don't execute commands as a sequence through the shell. also document the correct subprocess replacement for this case patch from Jean-Paul Calderone and Jani Hakala ........
* Deprecate os.popen* and popen2 module in favor of the subprocess module.Neal Norwitz2007-05-111-0/+6
|
* Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz2007-04-251-3/+3
| | | | You might want to review this change as it's my first time. Be gentle. :-)
* Patch #1676994: Refactor test_popen2 to use unittest.Collin Winter2007-03-161-68/+82
|
* Add new utility function, reap_children(), to test_support. This shouldNeal Norwitz2006-06-291-1/+2
| | | | | | | | | | be called at the end of each test that spawns children (perhaps it should be called from regrtest instead?). This will hopefully prevent some of the unexplained failures in the buildbots (hppa and alpha) during tests that spawn children. The problems were not reproducible. There were many zombies that remained at the end of several tests. In the worst case, this shouldn't cause any more problems, though it may not help either. Time will tell.
* Bug #1183780: Add Popen objects to _active only in __del__.Martin v. Löwis2006-03-241-0/+4
| | | | | Cleanup terminated processes as well. Add cmd attribute to Popen4.
* Fix typoAndrew M. Kuchling2005-02-101-1/+1
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-3/+3
| | | | From SF patch #852334.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-2/+3
|
* Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS.Moshe Zadka2001-01-301-0/+7
| | | | Tested for not breaking builds on Linux.
* The "more" cmd varies across Windows flavors, sometimes adding strayTim Peters2000-09-011-7/+16
| | | | | | | | newlines at the start or end. Fiddle test_popen2 and popen2._test() to tolerate this. Also change all "assert"s in these tests to raise explicit exceptions, so that python -O doesn't render them useless. Also, in case of error, make the msg display the reprs of what we wrote and what we read, so we can tell exactly why it's failing.
* Added os.popen2() and os.popen3() for non-Windows platforms.Fred Drake2000-08-281-1/+34
|
* -- changed test to work on platforms which have os.popenFredrik Lundh2000-07-271-2/+8
| | | | but no os.fork
* Test for popen2 module, by Chris Tismer.Guido van Rossum1999-03-111-0/+17