summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18010: Fix pydoc web server search to handle package exceptionsMartin Panter2015-11-061-6/+32
| | | | Implementation by Antoine Pitrou.
* asyncio: Optimize asyncio.sleep(0)Yury Selivanov2015-11-051-0/+24
|
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-025-5/+5
|
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-0211-12/+12
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''Serhiy Storchaka2015-11-011-0/+15
| | | | | at the end if the FileInput was opened with binary mode. Patch by Ryosuke Ito.
* Issue #21827: Fixed textwrap.dedent() for the case when largest commonSerhiy Storchaka2015-10-281-0/+5
| | | | | whitespace is a substring of smallest leading whitespace. Based on patch by Robert Li.
* Issue #23391: Restore OSError constructor argument documentationMartin Panter2015-10-261-5/+12
| | | | | | | | | | | | | | This restores details lost in revision 097f4fda61a4 (since Python 3.3, related to the new OSError subclasses). Further additions: * Markup for attributes and constructor signature * Explain "winerror" and "filename2" * Extend test to check for filename2 defaulting to None * Clarify that the constructor can return a subclass I have intentionally left out any details of allowing more than five arguments, or how the "args" attribute is set for four or more arguments. These details seem to be dependent on the Python version and platform.
* Issue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's homeZachary Ware2015-10-251-2/+4
| | | | rather than from elsewhere on PATH.
* accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)Benjamin Peterson2015-10-251-0/+1
|
* Fix whitespace.Guido van Rossum2015-10-191-1/+1
|
* Issue #25441: asyncio: Raise error from drain() when socket is closed.Guido van Rossum2015-10-191-0/+43
|
* Closes #25411: Improved Unicode support in SMTPHandler.Vinay Sajip2015-10-171-2/+2
|
* Issue #25093: Fix test_tcl's testloadWithUNC for paths with spacesZachary Ware2015-10-131-4/+4
| | | | Patch by Serhiy Storchaka.
* Cleanup test_descr: remove C8 that is the same as C3.Serhiy Storchaka2015-10-111-8/+0
|
* Issue #25099: Skip relevant tests in test_compileall when an entry onBrett Cannon2015-10-091-4/+32
| | | | | | | | | | | | sys.path has an unwritable __pycache__ directory. This typically comes up when someone runs the test suite from an administrative install of Python on Windows where the user does not have write permissions to the stdlib's directory. Thanks to Zachary Ware and Matthias Klose for reporting bugs related to this issue. (grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
* Issue #25365: test_pickle now works in threads disabled builds.Serhiy Storchaka2015-10-101-2/+3
|
* Issue #25322: Fix test for nested contextlib.suppressMartin Panter2015-10-101-1/+3
|
* Issue #24402: Factor out PtyTests.run_child() in input() testsMartin Panter2015-10-101-45/+48
| | | | | | This reuses existing code to hopefully make the new test_input_no_stdout_ fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I don't know why.
* Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by EryksunMartin Panter2015-10-101-76/+110
| | | | Also factored out some test cases into a new PtyTests class.
* prevent unacceptable bases from becoming bases through multiple inheritance ↵Benjamin Peterson2015-10-071-0/+31
| | | | (#24806)
* Issue #25097: Re-raise any other pywin32 errorZachary Ware2015-10-061-0/+1
|
* Issue #25097: fix Windows error number accessZachary Ware2015-10-061-1/+1
|
* Merge headsSerhiy Storchaka2015-10-061-4/+1
|\
| * Issue #23972: Fix tests for Windows and Debian.Guido van Rossum2015-10-061-4/+1
| |
* | Issue #25317: Converted doctests in test_tokenize to unittests.Serhiy Storchaka2015-10-061-357/+332
|/ | | | Made test_tokenize discoverable.
* reinitialize an Event's Condition with a regular lock (closes #25319)Benjamin Peterson2015-10-061-0/+8
|
* Docs and one small improvement for issue #25304, by Vincent Michel.Guido van Rossum2015-10-051-0/+21
|
* Issue #23972: updates to asyncio datagram API. By Chris Laws.Guido van Rossum2015-10-052-2/+190
|
* Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.Guido van Rossum2015-10-032-2/+67
|
* Issue #24657: Prevent CGIRequestHandler from collapsing the URL queryMartin Panter2015-10-031-0/+7
| | | | | Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc string.
* Issue #25232: Fix CGIRequestHandler's splitting of URL queryMartin Panter2015-10-031-0/+24
| | | | Patch from Xiang Zhang.
* asyncio: ensure_future() now understands awaitablesYury Selivanov2015-10-021-0/+18
|
* Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:Serhiy Storchaka2015-10-022-2/+61
| | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate.
* Fixes #25097: Windows test is skipped if there are insufficient privileges, ↵Vinay Sajip2015-10-011-9/+11
| | | | rather than failing.
* Issue #25274: test_recursionlimit_recovery() of test_sys now checksVictor Stinner2015-10-011-2/+3
| | | | | | sys.gettrace() when the test is executed, not when the module is loaded. sys.settrace() may be after after the test is loaded.
* Issue #22958: Constructor and update method of weakref.WeakValueDictionarySerhiy Storchaka2015-09-291-0/+25
| | | | now accept the self and the dict keyword arguments.
* Issue #22609: Constructor of collections.UserDict now accepts the self keywordSerhiy Storchaka2015-09-291-1/+26
| | | | argument.
* Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-291-0/+20
| | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
* Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).Guido van Rossum2015-09-291-9/+43
|
* Fix StreamReader.__repr__Andrew Svetlov2015-09-291-0/+42
|
* Fixed issue #25034: Fix string.Formatter problem with auto-numberingEric V. Smith2015-09-291-0/+2
| | | | and nested format_specs. Patch by Anthon van der Neut.
* Added additional unpickling tests.Serhiy Storchaka2015-09-291-37/+229
|
* Moved unpickling tests with prepickled data to separate class.Serhiy Storchaka2015-09-292-212/+233
|
* Issue #25233: Rewrite the guts of Queue to be more understandable and correct.Guido van Rossum2015-09-281-7/+48
|
* Issue #25249: Remove unneeded mkstemp helper in test_subprocessBerker Peksag2015-09-281-18/+8
| | | | | | | The helper was added in 76641824cf05 11 years ago and it can be removed now since all supported Python versions have tempfile.mkstemp(). Patch by Nir Soffer.
* Closes issue #23600: Wrong results from tzinfo.fromutc().Alexander Belopolsky2015-09-281-0/+23
|
* Issue #25211: Eliminate lazy error message class by using subTestMartin Panter2015-09-251-88/+72
| | | | Some of the calls to the Frm class were buggy anyway.
* Issue #25047: Respect case writing XML encoding declarationsMartin Panter2015-09-231-7/+14
| | | | | This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2.
* Issue #23630: Fix test_asyncio on WindowsVictor Stinner2015-09-211-0/+1
| | | | The proactor event loop requires also to mock loop._stop_serving.
* Issue #25114: Fix test_asyncioVictor Stinner2015-09-211-3/+2
| | | | ssl.SSLContext() does not always disable compression. Fix unit test.