summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/context.py4
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
5import time 5import time
6import glob 6import glob
7import sys 7import sys
8import imp 8import importlib
9import signal 9import signal
10from shutil import copyfile 10from shutil import copyfile
11from random import choice 11from 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()