summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+46
| | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.
* Issue #16250: Fix URLError invocation with proper args.Senthil Kumaran2012-10-271-0/+35
|
* bounds check for bad data (thanks amaury)Philip Jenvey2012-10-271-0/+2
|
* Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-212-1/+39
|
* Fix whacky spacking in test_wsgirefAntoine Pitrou2012-10-211-57/+0
|
* Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-211-31/+18
| | | | Patch by Brent Tubbs.
* Fix broken test and replace redundant generator with a tupleNick Coghlan2012-10-191-9/+13
|
* Issue #6074: Actually delete the source file in the test as intendedNick Coghlan2012-10-191-1/+1
|
* Issue #6074: Forward port Windows read-only source file fix from 2.7Nick Coghlan2012-10-191-5/+51
|
* Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
|
* Also add tests for TextIOWrapper.writelines() (issue #15744).Antoine Pitrou2012-10-161-0/+22
|
* Add tests for the writelines() method of file objects.Antoine Pitrou2012-10-162-1/+46
| | | | Original patch by Felipe Cruz.
* skip if __doc__ is goneBenjamin Peterson2012-10-121-0/+1
|
* fix to work if __doc__ is removedBenjamin Peterson2012-10-121-2/+2
|
* Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-7/+40
| | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases.
* revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
|
* Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
| | | | Patch by Serhiy Storchaka.
* Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵Chris Jerdonek2012-09-301-0/+2
| | | | resolution of issue.
* Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.Chris Jerdonek2012-09-301-29/+94
|
* Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵Antoine Pitrou2012-09-291-0/+1
| | | | test case.
* Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILDGregory P. Smith2012-09-291-1/+10
| | | | | to return a returncode of 0 when the child has already exited or cannot be waited on.
* #15222: Insert blank line after each message in mbox mailboxesPetri Lehtinen2012-09-251-0/+23
|
* #15222: test_mailbox: End message template in a newlinePetri Lehtinen2012-09-251-15/+15
|
* fix test_compileall when run with -O[O]Benjamin Peterson2012-09-251-4/+12
|
* use modern conditional syntaxBenjamin Peterson2012-09-251-1/+1
|
* Issue #16013: Fix CSV Reader parsing issue with ending quote characters. ↵Senthil Kumaran2012-09-251-0/+9
| | | | Patch by Serhiy Storchaka.
* Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()Christian Heimes2012-09-241-0/+10
| | | | method doesn't require an argument again.
* Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-09-232-1/+106
| | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka.
* #15421: fix an OverflowError in Calendar.itermonthdates() after ↵Ezio Melotti2012-09-211-0/+6
| | | | datetime.MAXYEAR. Patch by Cédric Krier.
* #15304: fix wrong warning message in test.support.temp_cwd().Ezio Melotti2012-09-211-1/+1
|
* remove gdb noise about linux-vdsoBenjamin Peterson2012-09-211-0/+5
|
* Issue #15973: Fixed segmentation fault on timezone comparison to other types.Alexander Belopolsky2012-09-201-0/+2
|
* #15970: xml.etree.ElementTree now serializes correctly the empty HTML ↵Ezio Melotti2012-09-191-0/+20
| | | | elements "meta" and "param".
* Issue #15526: try to fix test_startfile's inability to clean up after itself ↵Antoine Pitrou2012-09-151-8/+7
| | | | | | in time. Patch by Jeremy Kloth.
* Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
| | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
* 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()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
|