summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Delete the iterator, which could accidentally keep a temporary reference to ↵Antoine Pitrou2012-02-201-0/+1
| | | | the yielded element.
* Make "regrtest -j" "-R"-awareAntoine Pitrou2012-02-201-0/+1
|
* Fix obscure failures of datetime-related tests due to the datetime tests ↵Georg Brandl2012-02-202-19/+23
| | | | failing to restore the system state completely after testing the pure-Python versions.
* Fix dbm_gnu test relying on set order.Georg Brandl2012-02-201-1/+1
|
* Remove setting hash seed to regrtest's random seed and re-execv()ing: this ↵Georg Brandl2012-02-201-5/+0
| | | | doesn't preserve Python flags and fails from a temp directory.
* Another test_dis dict order dependency.Georg Brandl2012-02-201-6/+6
|
* Merge with 3.1.Georg Brandl2012-02-201-1/+1
|\
| * don't rely on the order of module clearingBenjamin Peterson2012-02-201-1/+1
| |
* | Fix test_dis dependency on dict order.Georg Brandl2012-02-201-6/+7
| |
* | Fix use of deprecated assert_ method.Georg Brandl2012-02-201-2/+2
| |
* | Fix "sys.path modified" warning in test_strlit, by not replacing sys.path ↵Georg Brandl2012-02-201-1/+1
| | | | | | | | itself, only its contents.
* | Fix bad inheritance in test_subprocess that led to a number of tests being ↵Georg Brandl2012-02-201-1/+1
| | | | | | | | executed twice.
* | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-2012-28/+196
|\ \ | |/ | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-2010-20/+180
| | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | Test for issue #13500Jesus Cea2012-02-191-0/+29
| |
* | Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServerCharles-François Natali2012-02-181-6/+8
|\ \ | |/ | | | | upon malformed POST request.
* | Issue #13878: Fix random test_sched failures.Charles-François Natali2012-02-161-8/+9
| |
* | don't use assertSameElements.Gregory P. Smith2012-02-161-1/+1
| |
* | Issue #2489: Fix bug in _copy loop that could consume 100% cpu on EOF.Gregory P. Smith2012-02-161-1/+90
| |
* | Issue #13913: Another fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-2/+2
| |
* | Issue #13913: Fix test_pep3120 for the UTF-8 codec nameVictor Stinner2012-02-151-1/+1
| |
* | Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body().Antoine Pitrou2012-02-151-0/+40
| | | | | | | | Patch by Hynek Schlawack.
* | Issue #10287: nntplib now queries the server's CAPABILITIES first before ↵Antoine Pitrou2012-02-141-1/+50
| | | | | | | | | | | | sending MODE READER, and only sends it if not already in READER mode. Patch by Hynek Schlawack.
* | Fix an index and clean up comments.Ezio Melotti2012-02-131-1/+0
| |
* | Improve handling of declarations in HTMLParser.Ezio Melotti2012-02-131-21/+29
| |
* | Fix htmlparser tests to always use the right collector.Ezio Melotti2012-02-131-2/+26
| |
* | #13993: HTMLParser is now able to handle broken end tags when strict=False.Ezio Melotti2012-02-131-2/+41
| |
* | Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵Antoine Pitrou2012-02-121-5/+57
| | | | | | | | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack.
* | #13960: HTMLParser is now able to handle broken comments when strict=False.Ezio Melotti2012-02-101-0/+30
| |
* | Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()Charles-François Natali2012-02-081-0/+1
| | | | | | | | can't be called reliably from a worker thread.
* | Issue #10881: Fix test_site failure with OS X framework builds.Ned Deily2012-02-051-10/+13
| |
* | Fix failing test on big-endian machines (issue #13806).Antoine Pitrou2012-02-041-8/+23
| |
* | Issue #13861: Prevent test_apropos* test case failures in test_pydoc.Ned Deily2012-02-031-2/+2
| |
* | Merge.Charles-François Natali2012-02-021-0/+23
|\ \
| * | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fixCharles-François Natali2012-02-021-0/+23
| | | | | | | | | | | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust.
* | | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-0/+3
|/ / | | | | | | Closes #13402.
* | Issue #1813: Revert workaround for a glibc bug on the Fedora buildbot.Stefan Krah2012-02-021-3/+0
| |
* | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-292-0/+10
| | | | | | | | | | | | in the file name. Patch by Hynek Schlawack.
* | remove tests from really old regex moduleBenjamin Peterson2012-01-291-285/+0
| |
* | Issue #13806: The size check in audioop decompression functions was too ↵Antoine Pitrou2012-01-281-6/+19
| | | | | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk.
* | Issue #13895: fix test_ssl hanging under UbuntuAntoine Pitrou2012-01-281-20/+20
| |
* | Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. PatchCharles-François Natali2012-01-281-0/+1
| | | | | | | | by Matt Joiner.
* | Fix intermittent test_ssl failure.Antoine Pitrou2012-01-271-0/+1
| |
* | Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-271-0/+23
| | | | | | | | flush stderr after printing the exception traceback.
* | Port import fixes from 2.7.Antoine Pitrou2012-01-251-1/+1
| |
* | Port remaining test fixes, and fix test_importlib too.Antoine Pitrou2012-01-251-0/+5
| |
* | Make test work under 32-bit systems, and when invoked through ↵Antoine Pitrou2012-01-251-8/+16
| | | | | | | | | | | | Lib/test/regrtest.py (rather than `-m test.regrtest`)
* | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-241-0/+12
| | | | | | | | modification time doesn't fit in a 32-bit timestamp.
* | Issue #13772: In os.symlink() under Windows, do not try to guess the linkAntoine Pitrou2012-01-241-2/+7
| | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions).
* | Fix a unittest error seen on NetBSD 5.Gregory P. Smith2012-01-221-2/+12
| |