From: Guido van Rossum Date: Sun, 13 Dec 2015 01:01:47 +0000 (-0800) Subject: Sync asyncio with upstream git repo (conditional import in test_pep492.py). X-Git-Tag: v3.6.0a1~921^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a316e82f658868a1698ef167f62a49048b36685;p=thirdparty%2FPython%2Fcpython.git Sync asyncio with upstream git repo (conditional import in test_pep492.py). --- diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py index 404a7489aec9..29aba817ec46 100644 --- a/Lib/test/test_asyncio/test_pep492.py +++ b/Lib/test/test_asyncio/test_pep492.py @@ -4,7 +4,10 @@ import collections.abc import types import unittest -from test import support +try: + from test import support +except ImportError: + from asyncio import test_support as support from unittest import mock import asyncio