summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* #18615: Make sndhdr return namedtuples.R David Murray2014-10-091-0/+13
| | | | Patch by Claudiu Popa.
* Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-1/+17
|\ | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
| * Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵Antoine Pitrou2014-10-081-1/+17
| | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon.
* | Issue #21965: Add support for in-memory SSL to the ssl module.Antoine Pitrou2014-10-051-2/+160
| | | | | | | | Patch by Geert Jansen.
* | Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called ↵Antoine Pitrou2014-10-051-0/+36
|\ \ | |/ | | | | with an iterator alive.
| * Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called ↵Antoine Pitrou2014-10-051-0/+36
| | | | | | | | with an iterator alive.
* | #16518: Bring error messages in harmony with docs ("bytes-like object")R David Murray2014-10-051-4/+4
| | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.)
* | Merge 3.4Victor Stinner2014-10-057-12/+20
|\ \ | |/
| * cleanup test_posixVictor Stinner2014-10-051-9/+10
| |
| * Issue #22390: Remove files created by testsVictor Stinner2014-10-057-3/+10
| |
* | (Merge 3.4) Issue #22290: Fix error handling in the _posixsubprocess module.Victor Stinner2014-10-051-0/+33
|\ \ | |/ | | | | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module.
| * Issue #22290: Fix error handling in the _posixsubprocess module.Victor Stinner2014-10-051-0/+33
| | | | | | | | | | | | | | | | * Don't call the garbage collector with an exception set: it causes an assertion to fail in debug mode. * Enhance also error handling if allocating an array for the executable list failed. * Add an unit test for 4 different errors in the _posixsubprocess module.
* | Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize*Antoine Pitrou2014-10-041-0/+16
| | | | | | | | | | argument to allow batching of tasks in child processes and improve performance of ProcessPoolExecutor. Patch by Dan O'Reilly.
* | Fixed tests on Windows for issue #21883.Serhiy Storchaka2014-10-041-1/+2
| |
* | Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError withSerhiy Storchaka2014-10-043-16/+35
| | | | | | | | more helpful error message for unsupported or mismatched types of arguments.
* | merge 3.4Benjamin Peterson2014-10-031-0/+15
|\ \ | |/
| * separate cert loading tests into Windows and non-Windows casesBenjamin Peterson2014-10-031-0/+15
| |
* | merge 3.4 (#22449)Benjamin Peterson2014-10-031-0/+8
|\ \ | |/
| * also use openssl envvars to find certs on windows (closes #22449)Benjamin Peterson2014-10-031-0/+8
| | | | | | | | Patch by Christian Heimes and Alex Gaynor.
* | Merge: #12780: update inspect test skipIf for PEP 3147.R David Murray2014-10-031-4/+5
|\ \ | |/
| * #12780: update inspect test skipIf for PEP 3147.R David Murray2014-10-031-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | The test needs to be skipped if unicodedata is either part of the main binary (a repackaging of cpython on Windows?) or has python source (pypy?). PEP 3147 makes __file__ point to the .py source, so we need to change the extension check from looking for the old .pyc/.pyo to just looking for .py. Note that this skip should never trigger on CPython itself, so one could argue it should be dropped instead. But since it exists, why risk breaking someone else's python.
* | Make test_datetime a better citizen (issue #22540)Antoine Pitrou2014-10-032-6/+6
| |
* | Merge: #8473: Add tests that doctest uses universal newlines in testfile.R David Murray2014-10-031-0/+30
|\ \ | |/
| * #8473: Add tests that doctest uses universal newlines in testfile.R David Murray2014-10-031-0/+30
| | | | | | | | Python3 does not have the bug covered by the issue.
* | Issue #20079: Fixed tests.Serhiy Storchaka2014-10-021-1/+1
|\ \ | |/
| * Issue #20079: Fixed tests.Serhiy Storchaka2014-10-021-1/+1
| |
* | Closes #20218: Added convenience methods read_text/write_text and read_bytes/Georg Brandl2014-10-011-0/+17
| | | | | | | | | | | | write_bytes to pathlib.Path objects. Thanks to Christopher Welborn and Ram Rachum for original patches.
* | Issue #22333: test_threaded_import now displays elapsed time in verbose mode.Victor Stinner2014-09-301-0/+4
| |
* | Issue #22333: Extend timeout in test_threaded_importVictor Stinner2014-09-301-1/+1
| | | | | | | | | | | | Check if the sporadic failure is related to a timeout. The test just failed on the buildbot "x86 Windows7 3.x": 1 thread done / 20 (the 'done' condition was not signaled because 1 < 20).
* | (Merge 3.4) faulthandler: test_gil_released() now uses _sigsegv() instead ofVictor Stinner2014-09-301-2/+2
|\ \ | |/ | | | | | | | | | | _read_null(), because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX. _read_null() and _sigabrt() don't accept parameters.
| * faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(),Victor Stinner2014-09-301-2/+2
| | | | | | | | | | because _read_null() cannot be used on AIX. On AIX, reading from NULL is allowed: the first page of memory is a mapped read-only on AIX.
* | merge 3.4 (#22517)Benjamin Peterson2014-09-301-0/+6
|\ \ | |/
| * merge 3.3 (#22517)Benjamin Peterson2014-09-301-0/+6
| |\
| | * clear BufferedRWPair weakrefs on deallocation (closes #22517)Benjamin Peterson2014-09-301-0/+6
| | |
* | | Issue #22437: Number of capturing groups in regular expression is no longerSerhiy Storchaka2014-09-291-2/+16
| | | | | | | | | | | | limited by 100.
* | | #17442: Add chained traceback support to InteractiveInterpreter.R David Murray2014-09-291-0/+35
| | | | | | | | | | | | Patch by Claudiu Popa.
* | | Closes issue #20858: Enhancements/fixes to pure-python datetime moduleAlexander Belopolsky2014-09-281-5/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch brings the pure-python datetime more in-line with the C module. Patch contributed by Brian Kearns, a PyPy developer. PyPy project has been running these modifications in PyPy2 stdlib. This commit includes: - General PEP8/cleanups; - Better testing of argument types passed to constructors; - Removal of duplicate operations; - Optimization of timedelta creation; - Caching the result of __hash__ like the C accelerator; - Enhancements/bug fixes in tests.
* | | merge 3.4 (#22379)Benjamin Peterson2014-09-283-15/+12
|\ \ \ | |/ /
| * | check that exception messages are not empty (#22379)Benjamin Peterson2014-09-283-15/+12
| | | | | | | | | | | | Patch by Yongzhi Pan.
* | | Issue #9850: Fixed macpath.join() for empty first component. Patch bySerhiy Storchaka2014-09-271-0/+24
|\ \ \ | |/ / | | | | | | Oleg Oshmyan.
| * | Issue #9850: Fixed macpath.join() for empty first component. Patch bySerhiy Storchaka2014-09-271-0/+24
| | | | | | | | | | | | Oleg Oshmyan.
| * | asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio moduleYury Selivanov2014-09-251-4/+11
| | |
| * | asyncio: Improve canceled timer handles cleanup. Closes issue #22448.Yury Selivanov2014-09-252-10/+88
| | | | | | | | | | | | Patch by Joshua Moore-Oliva.
* | | Issue #16324: _charset parameter of MIMEText now also accepts ↵Berker Peksag2014-09-261-0/+4
| | | | | | | | | | | | | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz.
* | | inspect: Fix getsource() to support decorated functions.Yury Selivanov2014-09-262-0/+16
| | | | | | | | | | | | Issue #1764286. Patch by Claudiu Popa.
* | | os: Include posix functions in os.__all__. Closes issue #18554.Yury Selivanov2014-09-261-0/+8
| | | | | | | | | | | | Patch by Ronald Oussoren.
* | | asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio moduleYury Selivanov2014-09-251-4/+11
| | |
* | | asyncio: Improve canceled timer handles cleanup. Closes issue #22448.Yury Selivanov2014-09-252-10/+88
| | | | | | | | | | | | Patch by Joshua Moore-Oliva.
* | | Issue #18093: fix test_capi test skip due to _testembed moveNick Coghlan2014-09-251-1/+1
| | |
* | | asyncio: Reverting 69d474dab479 as issue #21645 is now closed and debug is ↵Yury Selivanov2014-09-251-6/+0
| | | | | | | | | | | | no longer needed