cpython/Lib/test/test_asyncio
Victor Stinner 00b39ffbd3 (Merge 3.4) asyncio: sync with Tulip
* _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
  object that the wait was cancelled.
* Optimize IocpProactor.wait_for_handle() gets the result if the wait is
  signaled immediatly.
* Enhance representation of Future and Future subclasses

  - Add "created at filename:lineno" in the representation
  - Add Future._repr_info() method which can be more easily overriden than
    Future.__repr__(). It should now be more easy to enhance Future
    representation without having to modify each subclass. For example,
    _OverlappedFuture and _WaitHandleFuture get the new "created at" information.
  - Use reprlib to format Future result, and function arguments when formatting a
    callback, to limit the length of the representation.

* Fix repr(_WaitHandleFuture)
* _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
  source traceback.
* Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
  GetQueuedCompletionStatus()
* test_locks: close the temporary event loop and check the condition lock
* Remove workaround in test_futures, no more needed
2014-07-29 12:58:59 +02:00
..
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
echo.py
echo2.py
echo3.py
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py asyncio: sync with Tulip 2014-07-14 18:33:40 +02:00
test_events.py Issue #21566: Make use of socket.listen() default backlog. 2014-07-23 19:28:13 +01:00
test_futures.py asyncio: sync with Tulip 2014-07-29 12:58:23 +02:00
test_locks.py asyncio: sync with Tulip 2014-07-29 12:58:23 +02:00
test_proactor_events.py Python issue #21645, Tulip issue 192: Rewrite signal handling 2014-07-17 22:43:40 +02:00
test_queues.py Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests 2014-06-25 23:11:21 +02:00
test_selector_events.py asyncio: sync with Tulip 2014-07-23 18:21:45 +02:00
test_streams.py Issue #21645, #21985: Remove debug code 2014-07-16 10:24:27 +02:00
test_subprocess.py asyncio, test_subprocess: relax timings for slow builbots 2014-07-25 14:05:07 +02:00
test_tasks.py asyncio: sync with Tulip 2014-07-29 12:58:23 +02:00
test_transports.py asyncio: Replace "unittest.mock" with "mock" in unit tests 2014-02-26 10:25:02 +01:00
test_unix_events.py asyncio: sync with Tulip 2014-07-23 18:21:45 +02:00
test_windows_events.py asyncio: sync with Tulip 2014-07-25 00:54:53 +02:00
test_windows_utils.py Fix asyncio tests on Windows: wait for the subprocess exit 2014-06-04 00:42:04 +02:00