aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_futures.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-12-18 12:29:53 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-12-18 12:29:53 +0100
commitdc7765d12c8b3008935659d70970ac3cd563e566 (patch)
tree776af64cd2452f2ce9c905f3aac6cb112f5514b7 /Lib/test/test_asyncio/test_futures.py
parent3a1c738e6cf09d0972809fa431bf77dd564ff713 (diff)
downloadcpython-dc7765d12c8b3008935659d70970ac3cd563e566.tar.gz
cpython-dc7765d12c8b3008935659d70970ac3cd563e566.zip
asyncio: sync with Tulip
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 371d3518ff5..f9c3ad2086c 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):