diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-10-11 10:53:15 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-10-11 10:53:15 +0200 |
commit | e6fa026daff956f1df8f842bd537b7165a059be5 (patch) | |
tree | 63995a76acf3cd1f72d6d1150ce31b11757067ba /Lib | |
parent | bb729f8089d9730a7916be1299dfbcb229886e29 (diff) | |
download | cpython-e6fa026daff956f1df8f842bd537b7165a059be5.tar.gz |
Close #25367: Fix test_coroutines()
Fix usage of support.import_module('asyncio'): store the result in an 'asyncio'
variable.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_coroutines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_coroutines.py b/Lib/test/test_coroutines.py index 71fbe8212f..b15e244084 100644 --- a/Lib/test/test_coroutines.py +++ b/Lib/test/test_coroutines.py @@ -1324,7 +1324,7 @@ class CoroAsyncIOCompatTest(unittest.TestCase): def test_asyncio_1(self): # asyncio cannot be imported when Python is compiled without thread # support - support.import_module('asyncio') + asyncio = support.import_module('asyncio') class MyException(Exception): pass |