Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a test_atexit failure when run with -3 | Antoine Pitrou | 2009-10-14 | 1 | -0/+1 |
| | |||||
* | save/restore stdout/stderr instead of relying on __*__ versions | Skip Montanaro | 2008-10-07 | 1 | -2/+4 |
| | |||||
* | Simplify individual tests by defining setUp and tearDown methods. | Skip Montanaro | 2008-10-07 | 1 | -61/+27 |
| | |||||
* | backport the atexit test for r66563 | Benjamin Peterson | 2008-09-23 | 1 | -0/+13 |
| | |||||
* | Fix test_atexit so that it still passes when -3 is supplied. (It was ↵ | Steven Bethard | 2008-03-18 | 1 | -2/+2 |
| | | | | catching the warning messages on stdio from using the reload() function.) | ||||
* | Whitespace normalization. | Tim Peters | 2004-11-07 | 1 | -1/+1 |
| | |||||
* | Fix bug 1052242. Also includes rewrite of test case using unittest and | Skip Montanaro | 2004-11-04 | 1 | -52/+86 |
| | | | | avoiding use of popen. | ||||
* | sys.executable can contain spaces, cater for this when passing it to | Jack Jansen | 2003-02-24 | 1 | -2/+2 |
| | | | | os.popen(). Fixes #692222. | ||||
* | Make the test pass for jython where there are no sys.executable. | Finn Bock | 2002-11-06 | 1 | -3/+7 |
| | |||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | Reorganized so the test is skipped if os.popen() doesn't exist (in stead of ↵ | Jack Jansen | 2002-07-26 | 1 | -4/+4 |
| | | | | failing). | ||||
* | Use sys.executable to run Python, as suggested by Neal Norwitz. | Tim Peters | 2002-07-17 | 1 | -2/+3 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-07-16 | 1 | -1/+1 |
| | |||||
* | The atexit module effectively turned itself off if sys.exitfunc already | Tim Peters | 2002-07-16 | 1 | -11/+48 |
| | | | | | | | | | | | existed at the time atexit first got imported. That's a bug, and this fixes it. Also reworked test_atexit.py to test for this too, and to stop using an "expected output" file, and to test what actually happens at exit instead of just simulating what it thinks atexit will do at exit. Bugfix candidate, but it's messy so I'll backport to 2.2 myself. | ||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 |
| | | | | 'verify' iff it's used by a test module... | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Added the atexit module and documentation from Skip Montanaro | Fred Drake | 2000-06-28 | 1 | -0/+24 |
<skip@mojam.com>. Revisions to the markup to make it pass LaTeX, added an index entry and a reference from the sys.exitfunc documentation. This closes SourceForge patch #100620. |