summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaNSerhiy Storchaka2014-07-071-6/+6
|\ | | | | | | representations (on mips and m68k platforms).
| * Issue #21881: Be more tolerant in test_tcl to not parsable by float() NaNSerhiy Storchaka2014-07-071-6/+6
| | | | | | | | representations (on mips and m68k platforms).
* | for some reason, you don't get the right checksum from an incremental buildBenjamin Peterson2014-07-071-2/+3
| |
* | Merge pathlib fixesAntoine Pitrou2014-07-071-0/+14
|\ \
| * | Issue #20639: calling Path.with_suffix('') allows removing the suffix again.Antoine Pitrou2014-07-071-0/+6
| | | | | | | | | | | | Patch by July Tikhonov.
| * | Issue #21714: Disallow the construction of invalid paths using ↵Antoine Pitrou2014-07-071-0/+8
| | | | | | | | | | | | Path.with_name(). Original patch by Antony Lee.
* | | upgrade to unicode 7.0.0Benjamin Peterson2014-07-061-2/+2
| | |
* | | Issue #9554: Use modern unittest features in test_argparse.Berker Peksag2014-07-061-71/+31
| | | | | | | | | | | | Initial patch by Denver Coneybeare and Radu Voicilas.
* | | (Merge 3.4) Closes #21886, #21447: Fix a race condition in asyncio when settingVictor Stinner2014-07-052-0/+10
|\ \ \ | |/ / | | | | | | | | | the result of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
| * | Closes #21886, #21447: Fix a race condition in asyncio when setting the resultVictor Stinner2014-07-052-0/+10
| | | | | | | | | | | | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
* | | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-0/+52
|\ \ \ | |/ / | | | | | | when frame.clear() has been called.
| * | Issue #21897: Fix a crash with the f_locals attribute with closure variables ↵Antoine Pitrou2014-07-051-0/+52
| |/ | | | | | | when frame.clear() has been called.
* | #15014: Add 'auth' command to implement auth mechanisms and use it in login.R David Murray2014-07-031-22/+38
| | | | | | | | Patch by Milan Oberkirch.
* | Closes #21151: Merge with 3.4Zachary Ware2014-07-031-1/+14
|\ \ | |/
| * Issue #21151: Fixed a segfault in the winreg module.Zachary Ware2014-07-031-1/+14
| | | | | | | | | | | | | | When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx, PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman. (Also an incidental typo fix in a comment in test_winreg)
* | Issue #21755: Skip {Frozen,Source}_DeadlockAvoidanceTests tests whenBerker Peksag2014-07-031-66/+78
| | | | | | | | Python is built without threads.
* | (Merge 3.4) asyncio: sync with TulipVictor Stinner2014-07-021-0/+11
|\ \ | |/ | | | | | | | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for
| * asyncio: sync with TulipVictor Stinner2014-07-021-0/+11
| | | | | | | | | | | | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for
* | Issue #5800: headers parameter of wsgiref.headers.Headers is now optional.Berker Peksag2014-07-021-3/+3
| | | | | | | | Patch by Pablo Torres Navarrete and SilentGhost.
* | Issue #18258: Fix test discovery for test_codecmaps_*.Zachary Ware2014-07-026-22/+6
|\ \ | |/
| * Issue #18258: Fix test discovery for test_codecmaps_*.Zachary Ware2014-07-026-22/+6
| |
* | (Merge 3.4) asyncio: Fix test_sleep_cancel(): call_later() mock has no self ↵Victor Stinner2014-07-011-2/+2
|\ \ | |/ | | | | parameter
| * asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameterVictor Stinner2014-07-011-2/+2
| |
* | asyncio: sync with TulipVictor Stinner2014-06-301-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback()
| * asyncio: sync with TulipVictor Stinner2014-06-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback()
* | Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() forVictor Stinner2014-06-301-0/+6
| | | | | | | | debug
* | Issue #14235: Merge from 3.4.Berker Peksag2014-06-301-1/+1
|\ \ | |/
| * Issue #14235: Use importlib.reload() in test_cmd.test_coverage.Berker Peksag2014-06-301-1/+1
| |
* | Issue #21679: Prevent extraneous fstat() calls during open(). Patch by ↵Antoine Pitrou2014-06-301-1/+10
| | | | | | | | Bohuslav Kabrda.
* | Fixes #10541: regrtest -T is brokenAlexander Belopolsky2014-06-291-1/+5
| | | | | | | | | | | | * makes test_trace tests restore the tracefunc after they run * write_results() in trace module will not terminate if lnotab cannot be found.
* | Issue #20753: Merge with 3.4.Berker Peksag2014-06-291-1/+5
|\ \ | |/
| * Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built ↵Berker Peksag2014-06-291-1/+5
| | | | | | | | without threads.
* | (Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-281-17/+17
|\ \ | |/
| * asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-281-17/+17
| |
* | MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise ↵Jesus Cea2014-06-281-1/+1
|\ \ | |/ | | | | required? (Solaris)
| * Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵Jesus Cea2014-06-281-1/+1
| | | | | | | | (Solaris)
* | Issue #21863: cProfile now displays the module name of C extension ↵Antoine Pitrou2014-06-281-5/+5
| | | | | | | | functions, in addition to their own name.
* | (Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages inVictor Stinner2014-06-271-2/+6
|\ \ | |/ | | | | tests
| * asyncio: Fix two "Coroutine xxx was never yielded from" messages in testsVictor Stinner2014-06-271-2/+6
| |
* | (Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regexVictor Stinner2014-06-272-6/+6
|\ \ | |/
| * asyncio: Fix unit tests on Windows, escape filenames in regexVictor Stinner2014-06-272-6/+6
| |
* | (Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosedVictor Stinner2014-06-271-0/+16
|\ \ | |/ | | | | | | file_wrapper object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing.
| * Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapperVictor Stinner2014-06-271-0/+16
| | | | | | | | | | object is destroyed. The destructor now closes the file if needed. The close() method can now be called twice: the second call does nothing.
* | (Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.Victor Stinner2014-06-271-36/+17
|\ \ | |/ | | | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead.
| * Closes #21582: Cleanup test_asyncore. Patch written by diana.Victor Stinner2014-06-271-36/+18
| | | | | | | | | | | | - Use support.captured_stderr() where appropriate - Removes some "from test.support import xxx" import and uses support.xxx instead.
* | (Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback whereVictor Stinner2014-06-274-6/+113
|\ \ | |/ | | | | | | | | | | | | | | | | | | Future, Task and Handle objects are created. Pass the traceback to call_exception_handler() in the 'source_traceback' key. The traceback is truncated to hide internal calls in asyncio, show only the traceback from user code. Add tests for the new source_traceback, and a test for the 'Future/Task exception was never retrieved' log.
| * asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task andVictor Stinner2014-06-274-6/+113
| | | | | | | | | | | | | | | | | | | | | | Handle objects are created. Pass the traceback to call_exception_handler() in the 'source_traceback' key. The traceback is truncated to hide internal calls in asyncio, show only the traceback from user code. Add tests for the new source_traceback, and a test for the 'Future/Task exception was never retrieved' log.
| * asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutineVictor Stinner2014-06-271-0/+32
| | | | | | | | object was created to the "coroutine ... was never yield from" log
* | (Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback whereVictor Stinner2014-06-271-0/+32
| | | | | | | | | | the coroutine object was created to the "coroutine ... was never yield from" log
* | (Merge 3.4) asyncio: Oops, restore a removed testVictor Stinner2014-06-271-0/+3
|\ \ | |/