mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merge 3.5 (test_coroutines, issue #25367)
This commit is contained in:
commit
00a09c05ed
1 changed files with 3 additions and 1 deletions
|
@ -1322,7 +1322,9 @@ class CoroutineTest(unittest.TestCase):
|
|||
class CoroAsyncIOCompatTest(unittest.TestCase):
|
||||
|
||||
def test_asyncio_1(self):
|
||||
import asyncio
|
||||
# asyncio cannot be imported when Python is compiled without thread
|
||||
# support
|
||||
support.import_module('asyncio')
|
||||
|
||||
class MyException(Exception):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue