mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ae98051014
commit
124f689569
@@ -174,7 +174,7 @@ class OETestLoader(unittest.TestLoader):
|
||||
" Maybe you meant to derive from TestCase?")
|
||||
if not issubclass(testCaseClass, self.caseClass):
|
||||
raise TypeError("Test cases need to be derived from %s" % \
|
||||
caseClass.__name__)
|
||||
self.caseClass.__name__)
|
||||
|
||||
|
||||
testCaseNames = self.getTestCaseNames(testCaseClass)
|
||||
|
||||
Reference in New Issue
Block a user