summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_futures.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_futures.py')
-rw-r--r--Lib/test/test_asyncio/test_futures.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_futures.py b/Lib/test/test_asyncio/test_futures.py
index 371d351..f9c3ad2 100644
--- a/Lib/test/test_asyncio/test_futures.py
+++ b/Lib/test/test_asyncio/test_futures.py
@@ -5,11 +5,14 @@ import re
import sys
import threading
import unittest
-from test import support
from unittest import mock
import asyncio
from asyncio import test_utils
+try:
+ from test import support # gc_collect
+except ImportError:
+ from asyncio import test_support as support
def _fakefunc(f):