diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-02-06 09:27:22 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 09:29:55 -0800 |
commit | 124f689569c687070c70b73fc9b7eeee4c730208 (patch) | |
tree | 82a30e0680104563e8c1556d134de67f90368cb5 /meta/lib | |
parent | ae98051014463f71d501e686e363579081adb2ef (diff) | |
download | poky-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/lib')
-rw-r--r-- | meta/lib/oeqa/core/loader.py | 2 |
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) |