summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* #691291: codecs.open() should not convert end of lines on reading and writing.Florent Xicluna2010-02-261-0/+15
|
* Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data toSenthil Kumaran2010-02-241-0/+1
| | | | a existing req object already having data.
* Fix for Issue3819 - urllib2 sends Basic auth across redirectsSenthil Kumaran2010-02-241-1/+2
|
* Issue #7309: Unchecked pointer access when converting UnicodeEncodeError, ↵Eric Smith2010-02-241-0/+37
| | | | UnicodeDecodeError, and UnicodeTranslateError to strings.
* Issue #7427: improve the representation of httplib.BadStatusLine exceptions.Dirkjan Ochtman2010-02-241-0/+4
|
* Issue #7649: Fix u'%c' % char for character in range 0x80..0xFFVictor Stinner2010-02-231-0/+13
| | | | => raise an UnicodeDecodeError. Patch written by Ezio Melotti.
* Fix #1537721: add writeheader() method to csv.DictWriter.Dirkjan Ochtman2010-02-231-0/+4
| | | | Reviewed by skip.montanaro and thomas.wouters.
* unittest.TestResult can now be used with the TextTestRunner. TextTestRunner ↵Michael Foord2010-02-231-1/+18
| | | | compatible with old TestResult objects.
* Fix spacing nit. Thanks Eric Smith for the public humiliation.Mark Dickinson2010-02-231-4/+4
|
* Make global variable overflowok into a keyword argument; this fixes a ↵Mark Dickinson2010-02-231-16/+16
| | | | failure when running ./python -m test.regrtest -R 3:2: test_format
* added make_archive (and secondary APIs) to shutilTarek Ziadé2010-02-231-1/+316
|
* Issue 6292: for the moment at least, the test suite passes if runR. David Murray2010-02-2312-27/+132
| | | | | | with -OO. Tests requiring docstrings are skipped. Patch by Brian Curtin, thanks to Matias Torchinsky for helping review and improve the patch.
* Issue #6902: Fix problem with built-in types format incorrectly with 0 padding.Eric Smith2010-02-231-0/+32
|
* Support for old TestResult object (unittest) with warnings when using ↵Michael Foord2010-02-221-1/+49
| | | | unsupported features.
* * fix issue#7476Jack Diederich2010-02-221-0/+2
|
* fixes issue #1522237, bad init check in _threading_localJack Diederich2010-02-221-0/+15
|
* #7627: MH.remove() would fail if the MH mailbox was locked;Andrew M. Kuchling2010-02-221-0/+7
| | | | it would call _unlock_file() and pass it a closed file object. Noted by Rob Austein.
* Issue #7988: Fix default alignment to be right aligned for ↵Eric Smith2010-02-221-0/+2
| | | | complex.__format__. Now it matches other numeric types.
* Silence UnicodeWarning in crazy unittest test.Michael Foord2010-02-211-4/+7
|
* Reduce number of random tests in test_strtod, to avoid hogging buildbot time.Mark Dickinson2010-02-211-36/+30
|