diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-10-20 05:10:44 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-10-20 05:10:44 +0000 |
commit | 94332cba0f0a020f35590f1c2da23a579e3e9f3a (patch) | |
tree | 8b74e2418ef007e5d51c9b0f7f2d432ebdb5e6f9 /Lib/test/test_asyncgen.py | |
parent | fa27d5f2297b4f3a91b1fe350e760cd4f701d916 (diff) | |
download | cpython-git-94332cba0f0a020f35590f1c2da23a579e3e9f3a.tar.gz |
Issue #28480: Adjust or skip tests if multithreading is disabled
Diffstat (limited to 'Lib/test/test_asyncgen.py')
-rw-r--r-- | Lib/test/test_asyncgen.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_asyncgen.py b/Lib/test/test_asyncgen.py index 41b1b4f4b4..c24fbea5b0 100644 --- a/Lib/test/test_asyncgen.py +++ b/Lib/test/test_asyncgen.py @@ -1,4 +1,3 @@ -import asyncio import inspect import sys import types @@ -6,6 +5,9 @@ import unittest from unittest import mock +from test.support import import_module +asyncio = import_module("asyncio") + class AwaitException(Exception): pass |