aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/otherbinding/module_reload_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/otherbinding/module_reload_test.py')
-rw-r--r--sources/shiboken2/tests/otherbinding/module_reload_test.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sources/shiboken2/tests/otherbinding/module_reload_test.py b/sources/shiboken2/tests/otherbinding/module_reload_test.py
index 368425cd0..c63af188e 100644
--- a/sources/shiboken2/tests/otherbinding/module_reload_test.py
+++ b/sources/shiboken2/tests/otherbinding/module_reload_test.py
@@ -29,6 +29,7 @@
##
#############################################################################
+from importlib import reload
import os
import shutil
import sys
@@ -38,10 +39,6 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from shiboken_paths import init_paths
init_paths()
-from py3kcompat import IS_PY3K
-
-if IS_PY3K:
- from imp import reload
orig_path = os.path.join(os.path.dirname(__file__))
workdir = os.getcwd()