summaryrefslogtreecommitdiff
path: root/tests/test_windows_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Close transports in testsVictor Stinner2015-01-151-3/+8
| | | | | | | | | * Use test_utils.run_briefly() to execute pending calls to really close transports * sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport * pipe test: the test doesn't close explicitly the PipeHandle, so ignore the warning instead * test_popen: use the context manager ("with p:") to explicitly close pipes
* CPython doesn't have asyncio.test_supportVictor Stinner2014-12-261-1/+4
|
* asyncio.test_support now uses test.support and test.script_helper if availableVictor Stinner2014-12-191-6/+2
|
* Copy a subset of test.support from CPython 3.5 to no more depend on the testVictor Stinner2014-12-181-4/+7
| | | | module to run the asyncio test suite. The test module is rarely installed.
* Reuse socket.socketpair() on Windows if availableVictor Stinner2014-10-141-0/+4
| | | | | | | 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 tests on Windows: wait for the subprocess exitVictor Stinner2014-06-041-0/+2
| | | | | Before, regrtest failed to remove the temporary test directory because the process was still running in this directory.
* Make sure that socketpair() close sockets on errorVictor Stinner2014-06-041-0/+9
| | | | Close the listening socket if sock.bind() raises an exception.
* Issue #159: Fix windows_utils.socketpair()Victor Stinner2014-03-051-4/+23
| | | | | | | * 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
* 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.
* Increase timeout in test_popen() for buildbots.Guido van Rossum2013-11-151-1/+2
|
* Tweak import of _overlapped and add instructions README (mostly for myself :-).Guido van Rossum2013-10-291-5/+1
|
* Make various asyncio test files individually runnable.Guido van Rossum2013-10-201-0/+4
|
* MergeGuido van Rossum2013-10-171-1/+5
|
* Skip windows tests using unittest.SkipTest().Guido van Rossum2013-10-161-0/+4
|
* Rename tests from foo_test.py to test_foo.py, to match stdlib preference.Guido van Rossum2013-10-141-0/+132