summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-02-06 09:27:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 09:29:55 -0800
commit124f689569c687070c70b73fc9b7eeee4c730208 (patch)
tree82a30e0680104563e8c1556d134de67f90368cb5 /meta
parentae98051014463f71d501e686e363579081adb2ef (diff)
downloadpoky-124f689569c687070c70b73fc9b7eeee4c730208.tar.gz
oeqa/loader.py: Avoid error in TypeError exception
Without this an exception would occur (From OE-Core rev: d1bda068d4bc0ad3ff81ab1f104dc12cedd20b3f) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 c73ef9a0fc..a38032590d 100644
--- a/meta/lib/oeqa/core/loader.py
+++ b/meta/lib/oeqa/core/loader.py
@@ -174,7 +174,7 @@ class OETestLoader(unittest.TestLoader):
174 " Maybe you meant to derive from TestCase?") 174 " Maybe you meant to derive from TestCase?")
175 if not issubclass(testCaseClass, self.caseClass): 175 if not issubclass(testCaseClass, self.caseClass):
176 raise TypeError("Test cases need to be derived from %s" % \ 176 raise TypeError("Test cases need to be derived from %s" % \
177 caseClass.__name__) 177 self.caseClass.__name__)
178 178
179 179
180 testCaseNames = self.getTestCaseNames(testCaseClass) 180 testCaseNames = self.getTestCaseNames(testCaseClass)