summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* - 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()Jesus Cea2012-09-111-6/+2
|
* #15676: mmap: add empty file check prior to offset check <- Previous patch ↵Jesus Cea2012-09-101-5/+5
| | | | was incomplete
* #14649: clarify DocTestSuite error when there are no docstrings.R David Murray2012-09-104-5/+68
| | | | | | | 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/+9
|
* #15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray2012-09-081-8/+56
| | | | 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 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.
* Issue #15841: The readable(), writable() and seekable() methods of BytesIOAntoine Pitrou2012-09-051-4/+3
| | | | | and StringIO objects now raise ValueError when the object has been closed. Patch by Alessandro Moura.
* prevert ast errors from being normalized before ast_error_finish is called ↵Benjamin Peterson2012-09-021-0/+6
| | | | (closes #15846)
* #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.
* 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-4/+0
|
* Remove incorrect lines (meant for cdecimal) from recently added Decimal tests.Mark Dickinson2012-08-241-2/+0
|
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-241-0/+16
|
* Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Trent Nelson2012-08-211-3/+20
| | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
* #15752: s/assertRaisesRegexp/assertRaisesRegex/gEzio Melotti2012-08-211-2/+2
|
* Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().Stefan Krah2012-08-211-0/+8
|
* Issue #15285: Refactor connect timeout test in test_timeout.Trent Nelson2012-08-211-8/+82
|
* Issue #15738: Fix a missing NULL check in subprocess_fork_exec().Stefan Krah2012-08-201-0/+10
|
* Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().Stefan Krah2012-08-201-0/+13
| | | | Found by Coverity.
* #13579: teach string.Formatter about 'a'.R David Murray2012-08-191-0/+12
| | | | Patch by Francisco Martín Brugué.
* Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+33
| | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
* Issue #15615: Add some tests for the json module's handling of invalid input ↵Antoine Pitrou2012-08-181-0/+9
| | | | | | data. Patch by Kushal Das.
* Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.Mark Dickinson2012-08-181-4/+0
|
* #11062: Fix adding a message from file to Babyl mailboxPetri Lehtinen2012-08-151-12/+6
|
* #15269: document dircmp.left and right, and add tests for them.R David Murray2012-08-151-2/+8
| | | | Patch by Chris Jerdonek.
* Add test to explicit check the absence regression in subprocess (issue #15592).Andrew Svetlov2012-08-141-0/+12
| | | | Patch by Chris Jerdonek.
* Issue #15646: Prevent equivalent of a fork bomb when using multiprocessingRichard Oudkerk2012-08-142-1/+35
| | | | on Windows without the "if __name__ == '__main__'" idiom.
* Fix #15496. Add directory removal helpers to make Windows tests more ↵Brian Curtin2012-08-131-2/+66
| | | | reliable. Patch by Jeremy Kloth
* Revert 961a15aff2a6, this is already checked in another way.Georg Brandl2012-08-111-3/+1
|
* Closes #15620: check for presence of readline.clear_history(), which is ↵Georg Brandl2012-08-111-1/+3
| | | | apparently missing on some readline versions, before calling it in the test.
* Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-111-0/+13
| | | | Patch by Ludwig Hähne.
* Issue #14992: Prevent test_os test_exist_ok_s_isgid_directory test caseNed Deily2012-08-091-1/+4
| | | | failure on OS X built with 10.4 ABI.
* Fix CGI tests to take into account the platform's line ending (issue #13119)Antoine Pitrou2012-08-051-5/+7
|
* Fix universal newlines test to avoid the newline translation done by sys.stdout.Antoine Pitrou2012-08-041-26/+28
|
* Fix test_sys under Windows (issue #13119)Antoine Pitrou2012-08-041-1/+2
|
* Close #13119: use "\r\n" newline for sys.stdout/err on WindowsVictor Stinner2012-08-031-0/+17
| | | | sys.stdout and sys.stderr are now using "\r\n" newline on Windows, as Python 2.
* #15512: Remove remnants of debugging codeJesus Cea2012-08-031-2/+0
|
* Closes #15469: Correct __sizeof__ support for dequeJesus Cea2012-08-031-0/+16
|
* Closes #15512: Correct __sizeof__ support for parserJesus Cea2012-08-031-0/+41
|
* Issue #8847: Disable COMDAT folding in Windows PGO builds.Martin v. Löwis2012-08-012-0/+16
| | | | Analysis by Victor Stinner. Patch by Stefan Krah.
* Issue #15489: Add a __sizeof__ implementation for BytesIO objects.Antoine Pitrou2012-07-291-0/+11
| | | | Patch by Serhiy Storchaka.
* Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.Antoine Pitrou2012-07-291-3/+17
| | | | Patch by Serhiy Storchaka.
* Issue #15467: Move helpers for __sizeof__ tests into test_support.Martin v. Löwis2012-07-293-148/+121
| | | | Patch by Serhiy Storchaka.
* Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.Meador Inge2012-07-291-10/+41
|
* Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.Richard Oudkerk2012-07-271-1/+35
| | | | Original patch by J Derek Wilson.
* Issue #15320: Make iterating the list of tests thread-safe when running ↵Antoine Pitrou2012-07-251-12/+28
| | | | | | tests in multiprocess mode. Patch by Chris Jerdonek.