Remove an obsolete check for importlib.reload

This commit is contained in:
Kodi Arfer 2019-06-21 15:45:04 -04:00
parent 0531f056aa
commit e436d9dd4d

View File

@ -10,6 +10,7 @@ import runpy
import importlib import importlib
from fractions import Fraction from fractions import Fraction
from importlib import reload
import pytest import pytest
@ -20,11 +21,6 @@ from hy.lex.exceptions import PrematureEndOfInput
from hy.compiler import hy_eval, hy_compile from hy.compiler import hy_eval, hy_compile
from hy.importer import HyLoader from hy.importer import HyLoader
try:
from importlib import reload
except ImportError:
from imp import reload
def test_basics(): def test_basics():
"Make sure the basics of the importer work" "Make sure the basics of the importer work"