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-04 11:15:01 +0100 |
commit | 48cd7ff7ae61ca5772a42ece9fce51976dd0d790 (patch) | |
tree | 6b2b755904f534a993d390d3909d4ef72f888200 /meta/lib/oeqa/core/loader.py | |
parent | bc940753ee4af8c656f33d63e33c3d12d419446e (diff) | |
download | openembedded-core-48cd7ff7ae61ca5772a42ece9fce51976dd0d790.tar.gz openembedded-core-48cd7ff7ae61ca5772a42ece9fce51976dd0d790.tar.bz2 openembedded-core-48cd7ff7ae61ca5772a42ece9fce51976dd0d790.zip |
oeqa/core: Improve grammar in README and loader comments
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, \ def _make_failed_test(classname, methodname, exception, suiteClass): """ - When loading tests unittest framework stores the exception in a new - class created for be displayed into run(). + When loading tests, the unittest framework stores any exceptions and + displays them only when the 'run' method is called. - For our purposes will be better to raise the exception in loading - step instead of wait to run the test suite. + For our purposes, it is better to raise the exceptions in the loading + step rather than waiting to run the test suite. """ raise exception unittest.loader._make_failed_test = _make_failed_test |