summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 2.7 : Issue #16013: Fix CSV Reader parsing issue with ending quote ↵Senthil Kumaran2012-09-251-0/+9
| | | | characters. Patch by Serhiy Storchaka.
* Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()Christian Heimes2012-09-241-1/+54
| | | | method doesn't require an argument again.
* #15421: fix an OverflowError in Calendar.itermonthdates() after ↵Ezio Melotti2012-09-211-0/+6
| | | | datetime.MAXYEAR. Patch by Cédric Krier.
* remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
|
* #15970: xml.etree.ElementTree now serializes correctly the empty HTML ↵Ezio Melotti2012-09-191-0/+20
| | | | elements "meta" and "param".
* A follow up for issue #15906: change the test for calling the type conversionBarry Warsaw2012-09-121-4/+27
| | | | | | | | on the action's default, reverting it back to previous behavior. Conversion is only done on string defaults. Add a test for this and another test that ensures such type conversions are only called once.
* - Issue #15906: Fix a regression in argparse caused by the preceding change,Barry Warsaw2012-09-121-0/+10
| | | | when action='append', type='str' and default=[].
* Closes #15793: Stack corruption in ssl.RAND_egd(). Python 2.7 hasn't any ↵Jesus Cea2012-09-101-6/+2
| | | | issue about this, but add a test just to be sure
* #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-12/+9
| | | | was incomplete
* Closes #15910: MD5 and SHA1 crash when "updated" with strings bigger than ↵Jesus Cea2012-09-101-0/+33
| | | | 2**32 bytes
* Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger ↵Jesus Cea2012-09-101-0/+8
| | | | than 2**32 bytes
* #14649: add sample files omitted from previous checkin.R David Murray2012-09-102-0/+27
|
* #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-102-5/+41
| | | | | | | Also adds tests to verify the documented behavior (which is probably a bug, as indicated in the added comments). Patch by Chris Jerdonek.
* backport from the trunk, to fix test_tools with srcdir != builddirdoko@ubuntu.com2012-09-101-2/+2
| | | | | | | | | | | | changeset: 77827:c23b442b5d5e user: Antoine Pitrou <solipsis@pitrou.net> date: Thu Jun 28 01:20:26 2012 +0200 summary: Avoid using scrdir, it's broken. changeset: 77826:f0e58e778215 user: Neil Schemenauer <nas@arctrix.com> date: Wed Jun 27 15:58:37 2012 -0600 summary: Fix bug in test_tools that prevented building is separate directory.
* Closes #15676: mmap: add empty file check prior to offset checkJesus Cea2012-09-091-0/+16
|
* #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-7/+55
| | | | Patch by Chris Jerdonek.
* #15847: allow args to be a tuple in parse_argsR David Murray2012-09-081-0/+18
| | | | | | | | This fixes a regression introduced by the fix for issue #13922. Although args is not documented as being allowed to be a tuple, previously this worked and so naturally there are programs in the field that depend on it. Patch by Zbyszek Jędrzejewski-Szmek.
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-051-0/+69
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 2.7.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 2.7.3 and earlier. However, extension modules compiled for 2.7.3 and earlier will be loadable by 2.7.4.
* Issue #15841: The readable(), writable() and seekable() methods of io.BytesIOAntoine Pitrou2012-09-051-4/+3
| | | | | and io.StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* #15802: Fix test logic in TestMaildir.test_create_tmpPetri Lehtinen2012-09-011-5/+5
|
* #12776,#11839: call argparse type function only once.R David Murray2012-09-011-0/+48
| | | | | | | | | Before, the type function was called twice in the case where the default was specified and the argument was given as well. This was especially problematic for the FileType type, as a default file would always be opened, even if a file argument was specified on the command line. Patch by Arnaud Fontaine, with additional test by Mike Meyer.
* Issue #15765: Fix quirky NetBSD getcwd() behaviour.Trent Nelson2012-08-291-2/+10
| | | | | This is done by extending a previous fix for issue #9185 that was made for Solaris and OpenBSD to NetBSD as well.
* use the stricter PyMapping_Check (closes #15801)Benjamin Peterson2012-08-281-0/+3
|
* Remove overeager test (don't depend on the sign of a nan; cf. issue #14521)Mark Dickinson2012-08-241-2/+0
|
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-241-0/+14
|
* #11062: Fix adding a message from file to Babyl mailboxPetri Lehtinen2012-08-151-0/+13
|
* #9161: Fix test to use standard optparse test pattern (what was I thinking?)R David Murray2012-08-141-6/+6
|
* Issue #15646: Prevent equivalent of a fork bomb when using multiprocessingRichard Oudkerk2012-08-142-1/+38
| | | | on Windows without the "if __name__ == '__main__'" idiom.
* #9161: add test for the bug fixed by r82581.R David Murray2012-08-141-0/+7
| | | | Patch by Michael Johnson.
* Fix #15496. Add directory removal helpers to make Windows tests more ↵Brian Curtin2012-08-131-2/+66
| | | | reliable. Patch by Jeremy Kloth
* Graft a89d654adaa2 from 3.2 branch. Fixes #15620.Georg Brandl2012-08-111-0/+4
|\
| * #11496: skip history test if clear_history is not available.R David Murray2011-03-141-0/+4
| | | | | | | | Patch by Natalia B. Bidart.
| * Fix #11491. When dbm.open was called with a file which already exists andbriancurtin2011-03-141-0/+8
| | | | | | | | | | | | the "flag" argument is "n", dbm.error was being raised. As documented, dbm.open(...,flag='n') will now "Always create a new, empty database, open for reading and writing", regardless of a previous file existing.
| * Skip test that requires zlib when zlib is not available.Ezio Melotti2011-03-141-0/+1
| |
| * Merge #11488 patch from 3.1.R David Murray2011-03-141-0/+17
| |\
| | * #11488: Add tests for writelines method of SpooledTemporaryFile.R David Murray2011-03-141-0/+17
| | | | | | | | | | | | Patch by Evan Dandrea.
| * | Fix whitespaceR David Murray2011-03-141-1/+1
| | |
| * | Merge fix for #11490 from 3.1.R David Murray2011-03-141-1/+2
| |\ \ | | |/
| | * #11490: EACCES can also mean command not foundR David Murray2011-03-141-1/+2
| | |
| * | Issue #11223: Fix test_threadsignals to fail, not hang, when theAntoine Pitrou2011-03-131-2/+17
| | | | | | | | | | | | non-semaphore implementation of locks is used under POSIX.
| * | Merge #11131Mark Dickinson2011-03-121-0/+70
| |\ \ | | |/
| | * Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus ↵Mark Dickinson2011-03-121-0/+70
| | | | | | | | | | | | operations in ROUND_FLOOR rounding mode.
| * | #Issue 11424: added equivalent fixes for dictConfig.Vinay Sajip2011-03-071-1/+104
| | |
| * | #Issue 11424: merged fix from 3.1.Vinay Sajip2011-03-071-0/+113
| |\ \ | | |/
| | * Issue #11424: Fix bug in determining child loggers.Vinay Sajip2011-03-071-0/+113
| | |
| * | Merge build identification to 3.2 branch.Georg Brandl2011-03-061-1/+5
| |\ \ | | |/
| | * Adapt platform and test_platform to the build identification changes.Georg Brandl2011-03-051-1/+5
| | |
| * | Merge fix for issue #11391Antoine Pitrou2011-03-061-0/+8
| |\ \ | | |/
| | * Fix buildbot failure following 97a5590b9291Antoine Pitrou2011-03-061-3/+3
| | |
| | * Issue #11391: Writing to a mmap object created withAntoine Pitrou2011-03-061-0/+8
| | | | | | | | | | | | | | | `mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a TypeError. Patch by Charles-François Natali.