summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* every other ast object has a dict, so I think AST should, tooBenjamin Peterson2012-03-121-3/+0
|
* Issue #14252: Fix subprocess.Popen.terminate() to not raise an error under ↵Antoine Pitrou2012-03-111-0/+67
| | | | Windows when the child process has already exited.
* allow cycles throught the __dict__ slot to be cleared (closes #1469629)Benjamin Peterson2012-03-081-2/+17
| | | | Patch from Armin, test from me.
* keep the buffer object around while we're using it (closes #14212)Benjamin Peterson2012-03-071-1/+13
|
* Backport minidom attribute tests from default (73c76466cf44).Éric Araujo2012-03-051-4/+22
| | | | | Some minidom code changed between 3.2 and 3.3, so to be sure to avoid differenced in behavior I’m backporting these tests added by MvL.
* Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.Meador Inge2012-03-051-11/+23
|
* Fix some set algebra methods of WeakSet objects.Antoine Pitrou2012-03-041-4/+18
|
* Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-032-2/+7
| | | | Patch by Guilherme Gonçalves.
* Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
| | | | (other than a bytes object).
* Closes #14158: improved resilience to test files left behind.Vinay Sajip2012-03-023-11/+33
|
* Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-012-0/+107
| | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-02-291-0/+22
|
* #10713: Improve documentation for \b and \B and add a few tests. Initial ↵Ezio Melotti2012-02-291-0/+26
| | | | patch and tests by Martin Pool.
* Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-17/+14
|
* MergeAntoine Pitrou2012-02-271-18/+5
|\
| * Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.Nadeem Vawda2012-02-261-18/+5
| |
* | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵Antoine Pitrou2012-02-261-0/+20
|/ | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński.
* Add test file for scripts in Tools (#13447).Éric Araujo2012-02-251-0/+39
| | | | | | | | When people find bugs in scripts such as reindent.py, msgfmt.py or pygettext.py, we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. This test file is a way to stop that unsatisfactory state of things and write proper unit tests instead.
* Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
|
* HTMLParser is now able to handle slashes in the start tag.Ezio Melotti2012-02-211-0/+21
|
* Disable an inspect test: it depends on dict ordering which parameter is ↵Georg Brandl2012-02-201-1/+2
| | | | reported as duplicate.
* 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
| |