mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
This commit is contained in:
parent
3795d12a0d
commit
841d9ee41a
6 changed files with 147 additions and 19 deletions
|
@ -174,8 +174,6 @@ class FutureTests(test_utils.TestCase):
|
|||
'<Future cancelled>')
|
||||
|
||||
def test_copy_state(self):
|
||||
# Test the internal _copy_state method since it's being directly
|
||||
# invoked in other modules.
|
||||
f = asyncio.Future(loop=self.loop)
|
||||
f.set_result(10)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue