diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2017-06-02 15:42:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-05 09:19:51 +0100 |
commit | a89fe5ec17916206cceb72886d9d135196acb84a (patch) | |
tree | df23d91172edc80bc20e5f04e33e05e6147c3a25 /meta/lib/oeqa/core/loader.py | |
parent | f16368d2c50fa12df4145c0ae8402f771f3da186 (diff) | |
download | poky-a89fe5ec17916206cceb72886d9d135196acb84a.tar.gz |
oeqa/core: Improve grammar in README and loader comments
(From OE-Core rev: 48cd7ff7ae61ca5772a42ece9fce51976dd0d790)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/core/loader.py')
-rw-r--r-- | meta/lib/oeqa/core/loader.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/core/loader.py b/meta/lib/oeqa/core/loader.py index bffb2dac8d..51bfd9de01 100644 --- a/meta/lib/oeqa/core/loader.py +++ b/meta/lib/oeqa/core/loader.py | |||
@@ -14,11 +14,11 @@ from oeqa.core.decorator import decoratorClasses, OETestDecorator, \ | |||
14 | 14 | ||
15 | def _make_failed_test(classname, methodname, exception, suiteClass): | 15 | def _make_failed_test(classname, methodname, exception, suiteClass): |
16 | """ | 16 | """ |
17 | When loading tests unittest framework stores the exception in a new | 17 | When loading tests, the unittest framework stores any exceptions and |
18 | class created for be displayed into run(). | 18 | displays them only when the 'run' method is called. |
19 | 19 | ||
20 | For our purposes will be better to raise the exception in loading | 20 | For our purposes, it is better to raise the exceptions in the loading |
21 | step instead of wait to run the test suite. | 21 | step rather than waiting to run the test suite. |
22 | """ | 22 | """ |
23 | raise exception | 23 | raise exception |
24 | unittest.loader._make_failed_test = _make_failed_test | 24 | unittest.loader._make_failed_test = _make_failed_test |