Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.

This commit is contained in:
Guido van Rossum 2015-10-03 08:31:42 -07:00
parent 3795d12a0d
commit 841d9ee41a
6 changed files with 147 additions and 19 deletions

View file

@ -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)