mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
Sync asyncio with upstream git repo (conditional import in test_pep492.py). (Merge 3.5->3.6)
This commit is contained in:
commit
707244736a
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ import collections.abc
|
||||||
import types
|
import types
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
|
try:
|
||||||
from test import support
|
from test import support
|
||||||
|
except ImportError:
|
||||||
|
from asyncio import test_support as support
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue