Remove try/except import asyncio for python 2 (#6947)

This commit is contained in:
Edward Oakes
2020-01-29 09:17:07 -08:00
committed by GitHub
parent 037aa2b961
commit c2be794f10
+1 -5
View File
@@ -5,11 +5,7 @@
from cpython.exc cimport PyErr_CheckSignals
try:
import asyncio
except ImportError:
# Python2 doesn't have asyncio
asyncio = None
import asyncio
import numpy
import gc
import inspect