summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_transports.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38148: Add slots to asyncio transports (GH-16077)Andrew Svetlov2019-09-131-4/+9
| | | | | | | | * bpo-38148: Add slots to asyncio transports * Update Misc/NEWS.d/next/Library/2019-09-13-08-55-43.bpo-38148.Lnww6D.rst Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
* Improve test coverage (#4924)Andrew Svetlov2017-12-191-0/+1
|
* asyncio: Move loop attribute to _FlowControlMixinVictor Stinner2014-11-051-1/+2
| | | | | | | | | Move the _loop attribute from the constructor of _SelectorTransport, _ProactorBasePipeTransport and _UnixWritePipeTransport classes to the constructor of the _FlowControlMixin class. Add also an assertion to explicit that the parent class must ensure that the loop is defined (not None)
* asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() methodVictor Stinner2014-08-251-0/+2
|
* asyncio: Replace "unittest.mock" with "mock" in unit testsVictor Stinner2014-02-261-3/+3
| | | | | 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: WriteTransport.set_write_buffer_size to call _maybe_pause_protocolYury Selivanov2014-02-191-0/+23
|
* Update asyncio from the Tulip projectVictor Stinner2014-01-251-7/+7
| | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
* asyncio: Improve default writelines().Guido van Rossum2013-12-031-2/+8
|
* Make various asyncio test files individually runnableAntoine Pitrou2013-10-201-0/+4
|
* Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵Guido van Rossum2013-10-181-2/+2
| | | | timeout in test_call_later().
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+55