summaryrefslogtreecommitdiff
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-05-30 15:30:29 +0530
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-30 03:00:29 -0700
commit0f39c2b1919727904f4fac2d79cb41dc6bfe41fe (patch)
treea1109f3fcfda224d5b963d0d2d8778c5bb9f2fc2 /Tools/gdb/libpython.py
parent6eb814b8ce9a4fed8773a65501fb96aad8b3ecf2 (diff)
downloadcpython-git-0f39c2b1919727904f4fac2d79cb41dc6bfe41fe.tar.gz
bpo-37015: Ensure tasks created by _accept_connection2 due to AsyncMock are completed (GH-13661)
From 3.8 async functions used with mock.patch return an `AsyncMock`. `_accept_connection2` is an async function where create_task is also mocked. Don't mock `create_task` so that tasks are created out of coroutine returned by `AsyncMock` and the tasks are completed. https://bugs.python.org/issue37015
Diffstat (limited to 'Tools/gdb/libpython.py')
0 files changed, 0 insertions, 0 deletions