diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-12-18 11:29:53 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-12-18 11:29:53 (GMT) |
| commit | dc7765d12c8b3008935659d70970ac3cd563e566 (patch) | |
| tree | 776af64cd2452f2ce9c905f3aac6cb112f5514b7 /Lib/test/test_asyncio/test_events.py | |
| parent | 3a1c738e6cf09d0972809fa431bf77dd564ff713 (diff) | |
| download | cpython-dc7765d12c8b3008935659d70970ac3cd563e566.zip cpython-dc7765d12c8b3008935659d70970ac3cd563e566.tar.gz cpython-dc7765d12c8b3008935659d70970ac3cd563e566.tar.bz2 | |
asyncio: sync with Tulip
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
| -rw-r--r-- | Lib/test/test_asyncio/test_events.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index d7e2f34..0630292 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -20,13 +20,16 @@ import errno import unittest from unittest import mock import weakref -from test import support # find_unused_port, IPV6_ENABLED, TEST_HOME_DIR import asyncio from asyncio import proactor_events from asyncio import selector_events from asyncio import test_utils +try: + from test import support # find_unused_port, IPV6_ENABLED, TEST_HOME_DIR +except ImportError: + from asyncio import test_support as support def data_file(filename): |
