summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Make socket.error with errno EBADF get raised as OSError.Jason Madden2021-04-281-0/+35
| | | | Fixes #17
* Merge pull request #6 from mindw/fix_win32_testVictor Stinner2016-02-051-1/+1
|\ | | | | Fix win32 test
| * fix test on py2 win32Gabi Davar2015-11-131-1/+1
| |
* | Ugly hack to support Python 3.5 with the PEP 479Victor Stinner2016-02-051-9/+25
|/
* Merge asyncio into trolliusVictor Stinner2015-09-084-17/+159
|\
| * Fix Task.get_stask() for 'async def' coroutineslistmasterYury Selivanov2015-08-141-0/+32
| |
| * Fix asyncio tests on windowsYury Selivanov2015-08-091-1/+5
| |
| * queues: Fix getter-cancellation with many pending getters code pathYury Selivanov2015-08-061-1/+36
| | | | | | | | | | This commit fixes a typo in a method call and adds a unittest to make sure that that code path is tested.
| * Merge PR #256: fix issue23812 of queues loosing items on cancellationYury Selivanov2015-08-051-1/+60
| | | | | | | | Patch by @gjcarneiro.
| * Fix ResourceWarning in BaseSubprocessTransportVictor Stinner2015-07-311-0/+15
| | | | | | | | | | | | Python issue #24763: Fix resource warnings when BaseSubprocessTransport constructor fails, if subprocess.Popen raises an exception for example. Patch written by Martin Richard, test written by me.
| * Fix ResourceWarning warnings in test_streamsVictor Stinner2015-07-241-16/+12
| |
* | Use the six moduleVictor Stinner2015-07-133-3/+6
| |
* | Fix sslproto when ssl is not availableVictor Stinner2015-07-131-2/+7
| |
* | Fix Python 3.2 compatVictor Stinner2015-07-111-3/+5
| |
* | fix test_events on python 3.4.0 and 3.4.1Victor Stinner2015-07-091-2/+0
| |
* | subprocess.Popen doesn't support context manager on Python 2Victor Stinner2015-07-091-3/+4
| |
* | fix importVictor Stinner2015-07-091-0/+1
| |
* | get unittest from trollius.test_utilsVictor Stinner2015-07-0917-109/+104
| |
* | Merge branch 'master' into trolliusVictor Stinner2015-07-094-7/+9
|\ \ | |/
| * Replace Tulip with asyncio in test commentsVictor Stinner2015-07-094-7/+9
| |
* | Fixes for Python 2.6Victor Stinner2015-07-094-17/+18
| |
* | Python 2.7 fixesVictor Stinner2015-07-098-59/+58
| |
* | Fix Python 3.4 issuesVictor Stinner2015-07-096-37/+8
| |
* | add test_asyncio.pyVictor Stinner2015-07-071-0/+141
| |
* | Port asyncio to Python 2, tests/ directoryVictor Stinner2015-07-0717-777/+875
| |
* | Replace asyncio with trollius in code and configVictor Stinner2015-07-0616-131/+131
|/
* Fix CoroWrapper for 'async def' coroutinesYury Selivanov2015-06-241-1/+2
|
* Support PEP 492 native coroutines.Yury Selivanov2015-05-112-3/+4
|
* Use DeprecationWarning for async()Yury Selivanov2015-05-111-1/+1
|
* Deprecate async() function in favour of ensure_future()Yury Selivanov2015-05-113-25/+31
|
* Fix script_helper imports for 3.4Yury Selivanov2015-05-112-4/+14
|
* Sync script_helper import with CPythonYury Selivanov2015-05-112-2/+2
|
* Add new loop APIs: set_task_factory() and get_task_factory()Yury Selivanov2015-05-111-0/+36
|
* Merge pull request #231 from haypo/issue_222Guido van Rossum2015-04-231-21/+44
|\ | | | | Fix @coroutine for functions without __name__
| * Fix @coroutine for functions without __name__issue_222Victor Stinner2015-04-141-21/+44
| | | | | | | | | | | | | | | | Issue #222: Fix the @coroutine decorator for functions without __name__ attribute like functools.partial(). Enhance also the representation of a CoroWrapper if the coroutine function is a functools.partial().
* | Fix queue join tests for CPython's test runner.A. Jesse Jiryu Davis2015-04-201-4/+4
| | | | | | | | "python -m test" was running tests in the base class, which failed.
* | Test LifoQueue's and PriorityQueue's put() and task_done().A. Jesse Jiryu Davis2015-04-191-5/+19
|/
* Fix _SelectorTransport.__repr__() if the event loop is closedVictor Stinner2015-03-271-0/+5
|
* Fix warning in test_close_kill_running()Victor Stinner2015-02-171-0/+1
| | | | | Read process exit status to avoid the "Caught subprocess termination from unknown pid" message.
* Python issue #23475: Fix test_close_kill_running()Victor Stinner2015-02-171-2/+10
| | | | | | Really kill the child process, don't mock completly the Popen.kill() method. This change fix memory leaks and reference leaks.
* tests: Use os.devnull instead of hardcoded '/dev/null'.Victor Stinner2015-02-171-3/+3
| | | | Patch written by Serhiy Storchaka <storchaka@gmail.com>.
* Merge branch remove-joinable-queue.A. Jesse Jiryu Davis2015-02-141-5/+5
|\
| * Tulip issue #220: Merge JoinableQueue with Queue.A. Jesse Jiryu Davis2015-01-231-5/+5
| | | | | | | | | | To more closely match the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue is deleted.
| * test_selectors: use asyncio.test_support if test.support is missingVictor Stinner2015-01-211-1/+4
| |
| * Enhance BaseProactorEventLoop._loop_self_reading()Victor Stinner2015-01-161-2/+3
| | | | | | | | | | | | | | | | * Handle correctly CancelledError: just exit * On error, log the exception and exit Don't try to close the event loop, it is probably running and so it cannot be closed.
| * tests: Remove unused function; inline another functionVictor Stinner2015-01-161-9/+1
| |
| * Issue #22685: Fix test_pause_reading() of test_subprocessVictor Stinner2015-01-151-2/+12
| | | | | | | | | | | | | | Override the connect_read_pipe() method of the loop to mock immediatly pause_reading() and resume_reading() methods. The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius.
| * Python issue #23219: cancelling wait_for() now cancels the taskVictor Stinner2015-01-151-0/+27
| |
| * Close transports in testsVictor Stinner2015-01-154-3/+15
| | | | | | | | | | | | | | | | | | * 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
| * Python issue #23243: Close explicitly transports in testsVictor Stinner2015-01-153-277/+226
| |