diff options
-rw-r--r-- | meta/lib/oeqa/selftest/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/context.py b/meta/lib/oeqa/selftest/context.py index fd9280f8a9..84878ea193 100644 --- a/meta/lib/oeqa/selftest/context.py +++ b/meta/lib/oeqa/selftest/context.py | |||
@@ -5,7 +5,7 @@ import os | |||
5 | import time | 5 | import time |
6 | import glob | 6 | import glob |
7 | import sys | 7 | import sys |
8 | import imp | 8 | import importlib |
9 | import signal | 9 | import signal |
10 | from shutil import copyfile | 10 | from shutil import copyfile |
11 | from random import choice | 11 | from random import choice |
@@ -183,7 +183,7 @@ class OESelftestTestContextExecutor(OETestContextExecutor): | |||
183 | self.tc.logger.info("\t%s" % l) | 183 | self.tc.logger.info("\t%s" % l) |
184 | 184 | ||
185 | sys.path.extend(layer_libdirs) | 185 | sys.path.extend(layer_libdirs) |
186 | imp.reload(oeqa.selftest) | 186 | importlib.reload(oeqa.selftest) |
187 | 187 | ||
188 | _check_required_env_variables(["BUILDDIR"]) | 188 | _check_required_env_variables(["BUILDDIR"]) |
189 | _check_presence_meta_selftest() | 189 | _check_presence_meta_selftest() |