From 48cd7ff7ae61ca5772a42ece9fce51976dd0d790 Mon Sep 17 00:00:00 2001 From: Randy MacLeod Date: Fri, 2 Jun 2017 15:42:46 -0400 Subject: oeqa/core: Improve grammar in README and loader comments Signed-off-by: Randy MacLeod Signed-off-by: Richard Purdie --- meta/lib/oeqa/core/loader.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/lib/oeqa/core/loader.py') 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 -- cgit v1.2.3