summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_windows_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: sync with TulipVictor Stinner2014-12-261-6/+5
| | | | | * Fix pyflakes warnings: remove unused imports and variables * asyncio.test_support now uses test.support and test.script_helper if available
* asyncio: sync with TulipVictor Stinner2014-12-181-4/+7
|
* Issue #18643: asyncio.windows_utils now reuse socket.socketpair() on Windows ifVictor Stinner2014-10-141-0/+4
| | | | | | | | | available Since Python 3.5, socket.socketpair() is now also available on Windows. Make csock blocking before calling the accept() method, and fix also a typo in an error message.
* Fix asyncio tests on Windows: wait for the subprocess exitVictor Stinner2014-06-031-0/+2
| | | | | Before, regrtest failed to remove the temporary test directory because the process was still running in this directory.
* Issue #21119: asyncio: Make sure that socketpair() close sockets on errorVictor Stinner2014-06-031-0/+9
| | | | Close the listening socket if sock.bind() raises an exception.
* asyncio: Synchronize with TulipVictor Stinner2014-03-051-4/+23
| | | | | | | | | | | | * Issue #159: Fix windows_utils.socketpair() - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because "localhost" may be a different IP address - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and proto=0) are supported * Reject add/remove reader/writer when event loop is closed. * Fix ResourceWarning warnings
* asyncio: Replace "unittest.mock" with "mock" in unit testsVictor Stinner2014-02-261-2/+2
| | | | | Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2.
* asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.Guido van Rossum2013-11-151-1/+2
|
* asyncio: Add support for running subprocesses on Windows with the IOCP event ↵Guido van Rossum2013-10-301-5/+1
| | | | loop (Richard Oudkerk).
* Make various asyncio test files individually runnableAntoine Pitrou2013-10-201-0/+4
|
* Make asyncio tests run on Windows.Guido van Rossum2013-10-171-1/+5
|
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+136