From e436d9dd4df4df65a422868f99374fdef40753bc Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Fri, 21 Jun 2019 15:45:04 -0400 Subject: [PATCH] Remove an obsolete check for `importlib.reload` --- tests/importer/test_importer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/importer/test_importer.py b/tests/importer/test_importer.py index a823c41..a604a73 100644 --- a/tests/importer/test_importer.py +++ b/tests/importer/test_importer.py @@ -10,6 +10,7 @@ import runpy import importlib from fractions import Fraction +from importlib import reload import pytest @@ -20,11 +21,6 @@ from hy.lex.exceptions import PrematureEndOfInput from hy.compiler import hy_eval, hy_compile from hy.importer import HyLoader -try: - from importlib import reload -except ImportError: - from imp import reload - def test_basics(): "Make sure the basics of the importer work"