[OE-core] [PATCH] loader.py: avoid error in TypeError exception.
Juro Bystricky
juro.bystricky at intel.com
Mon Feb 6 17:27:22 UTC 2017
Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
meta/lib/oeqa/core/loader.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py
index c73ef9a..a380325 100644
--- a/meta/lib/oeqa/core/loader.py
+++ b/meta/lib/oeqa/core/loader.py
@@ -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)
--
2.7.4
More information about the Openembedded-core
mailing list