diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-25 21:11:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-25 21:11:21 (GMT) |
commit | 87f16f892c4a5e96b9e9db3953b1cfc3db51b8f6 (patch) | |
tree | a49014c71bf8383f565e44116159c5a123125b4a /Lib/test/test_asyncio/test_locks.py | |
parent | 36820b6e084658423a038c77d6f61cc44fc7654a (diff) | |
download | cpython-87f16f892c4a5e96b9e9db3953b1cfc3db51b8f6.zip cpython-87f16f892c4a5e96b9e9db3953b1cfc3db51b8f6.tar.gz cpython-87f16f892c4a5e96b9e9db3953b1cfc3db51b8f6.tar.bz2 |
Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests
Diffstat (limited to 'Lib/test/test_asyncio/test_locks.py')
-rw-r--r-- | Lib/test/test_asyncio/test_locks.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_locks.py b/Lib/test/test_asyncio/test_locks.py index 9d50a71..8ad1486 100644 --- a/Lib/test/test_asyncio/test_locks.py +++ b/Lib/test/test_asyncio/test_locks.py @@ -783,6 +783,7 @@ class SemaphoreTests(test_utils.TestCase): # cleanup locked semaphore sem.release() + self.loop.run_until_complete(t4) def test_acquire_cancel(self): sem = asyncio.Semaphore(loop=self.loop) |