diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py index 404a7489aec..29aba817ec4 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