summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncgen.py')
-rw-r--r--Lib/test/test_asyncgen.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_asyncgen.py b/Lib/test/test_asyncgen.py
index 41b1b4f..c24fbea 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