summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/core/loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py
index 6070bf5310..e66de32cb1 100644
--- a/meta/lib/oeqa/core/loader.py
+++ b/meta/lib/oeqa/core/loader.py
@@ -24,7 +24,7 @@ from oeqa.core.decorator import decoratorClasses, OETestDecorator, \
24# Generate the function definition because this differ across python versions 24# Generate the function definition because this differ across python versions
25# Python >= 3.4.4 uses tree parameters instead four but for example Python 3.5.3 25# Python >= 3.4.4 uses tree parameters instead four but for example Python 3.5.3
26# ueses four parameters so isn't incremental. 26# ueses four parameters so isn't incremental.
27_failed_test_args = inspect.getargspec(unittest.loader._make_failed_test).args 27_failed_test_args = inspect.getfullargspec(unittest.loader._make_failed_test).args
28exec("""def _make_failed_test(%s): raise exception""" % ', '.join(_failed_test_args)) 28exec("""def _make_failed_test(%s): raise exception""" % ', '.join(_failed_test_args))
29unittest.loader._make_failed_test = _make_failed_test 29unittest.loader._make_failed_test = _make_failed_test
30 30