summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Create test_genericpath.CommonTest and reuse it to test other path modules.Florent Xicluna2010-03-064-325/+165
|
* Do not print the header lines when running a single test.Florent Xicluna2010-03-061-7/+9
|
* Added schema version test in dictConfig.Vinay Sajip2010-03-061-0/+84
|
* Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor ↵Florent Xicluna2010-03-061-22/+21
| | | | adjustments.
* #2777: Apply same recipe on win32, i.e. do not inherit file handles.Florent Xicluna2010-03-061-3/+5
|
* Print platform information to stdout, to help troubleshooting ↵Florent Xicluna2010-03-061-2/+12
| | | | platform-specific failures.
* Keep the test files in the ./build/ subdirectory, if Python is not installed.Florent Xicluna2010-03-061-44/+33
| | | | Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
* Call setreuid and setregid in a subprocess to avoid altering the test runner'sGregory P. Smith2010-03-061-2/+16
| | | | process state. Should fix issue8045.
* #2777: Apply same recipe for test_terminate and test_kill, i.e. close or ↵Florent Xicluna2010-03-061-2/+4
| | | | redirect fds.
* #2777: Handle fds more carefully to try to fix some x86-Linux failures ↵Florent Xicluna2010-03-051-3/+6
| | | | (namely, neal bot and twisted bot).
* Fix incorrect stacklevel for DeprecationWarnings originating from the struct ↵Mark Dickinson2010-03-051-36/+15
| | | | | | | module. Also clean up related tests in test_struct. The stacklevel fix should be backported to 2.6 once that branch is unfrozen.
* remove the svn:executable property from files that don't have shebang linesBenjamin Peterson2010-03-0513-0/+0
|
* These line should not be there.Florent Xicluna2010-03-051-1/+0
|
* Let's use assertIsNone / assertIsNotNone. It's hype.Florent Xicluna2010-03-051-5/+5
|
* Workaround #3137: Retry SIGINT if it is not received the first time.Florent Xicluna2010-03-051-2/+13
| | | | test_send_signal should not hang anymore on various Linux distributions.
* #2777: Enable test_send_signal, test_kill and test_terminate on all platforms.Florent Xicluna2010-03-041-6/+20
|
* Cleanup.Florent Xicluna2010-03-041-5/+5
|
* Try to fix buildbot breakage from r78384.Dirkjan Ochtman2010-03-041-1/+2
| | | | Thanks bitdancer and briancurtin for the help.
* #7805: wait until all workers are started before collecting their PIDsFlorent Xicluna2010-03-041-1/+9
|
* Fix transient refleak in test_popen2.Florent Xicluna2010-03-041-1/+7
|
* Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public ReviewVictor Stinner2010-03-041-0/+5
| | | | | | Issue #29. PR #29 was released in february 2004!
* Issue #7232: Add support for the context manager protocolLars Gustäbel2010-03-031-0/+60
| | | | to the TarFile class.
* Fix wording.Florent Xicluna2010-03-021-2/+2
|
* plug ref leaksBenjamin Peterson2010-03-021-0/+4
|
* Issue #7820: The parser tokenizer restores all bytes in the right if the BOMVictor Stinner2010-03-021-0/+11
| | | | | | check fails. Fix an assertion in pydebug mode.
* remove cross-version compatibility codeBenjamin Peterson2010-03-021-22/+2
|
* remove code to avoid BaseException.message bugBenjamin Peterson2010-03-021-6/+0
|
* Test test_pep277 is only relevant for Unicode-friendly filesystems.Florent Xicluna2010-03-021-4/+6
|
* convert deprecated fail* methods to assert* variantsBenjamin Peterson2010-03-021-16/+16
|
* use test_main() in __main__ sectionBenjamin Peterson2010-03-021-1/+1
|
* prevent warning filter adjustment from altering other testsBenjamin Peterson2010-03-021-24/+23
|
* enable running of argparse tests and fix two that failed in the new environmentBenjamin Peterson2010-03-021-4/+11
|
* remove another coding cookieBenjamin Peterson2010-03-021-3/+1
|
* set svn:eol-styleBenjamin Peterson2010-03-021-4206/+4206
|
* Tentatively enable test_pep277 on all platforms.Florent Xicluna2010-03-021-3/+7
|
* Refactor test_dict using assertRaises.Florent Xicluna2010-03-021-68/+47
|
* Initial commit of the argparse library, based on argparse 1.1.Steven Bethard2010-03-021-0/+4206
| | | | | Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.
* Fix test to be skipped on windows.Gregory P. Smith2010-03-011-4/+2
|
* Fixes issue #7999: os.setreuid() and os.setregid() would refuse to acceptGregory P. Smith2010-03-011-0/+2
| | | | a -1 parameter on some platforms such as OS X.
* Cleanup the test added in r78517 based on Ezio Melotti's feedback.Gregory P. Smith2010-03-011-8/+4
|
* Fix the new test on windows (skip it, its posix only)Gregory P. Smith2010-03-011-0/+1
|
* Adds the hashlib.algorithms attribute. See issue7418.Gregory P. Smith2010-03-011-0/+5
|
* Issue #7242: On Solaris 9 and earlier calling os.fork() from within aGregory P. Smith2010-03-011-1/+41
| | | | | thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork.
* Issue #1068268: The subprocess module now handles EINTR in internalGregory P. Smith2010-03-011-1/+21
| | | | os.waitpid and os.read system calls where appropriate.
* Issue #7481: When a threading.Thread failed to start it would leave theGregory P. Smith2010-02-281-0/+19
| | | | instance stuck in initial state and present in threading.enumerate().
* Fix an oversight in r78508: p.wait() should be compared to 0Florent Xicluna2010-02-271-4/+4
|
* Clean test_subprocess: use assertRaises, skipIf, skipUnless helpers and a ↵Florent Xicluna2010-02-271-318/+299
| | | | custom helper assertStderrEqual.
* #7793: Fix RuntimeError when running "regrtest -R" for multibyte codecs.Florent Xicluna2010-02-271-18/+3
|
* Issue #1729305: Fix doctest to handle encode error with "backslashreplace". ↵Florent Xicluna2010-02-271-1/+44
| | | | It fixes #7667 too.
* Add a test for normpath to test_macpath.Ezio Melotti2010-02-271-0/+6
|