Skip to content

Commit ed226d1

Browse files
committed
twister: rephrase error when installed plugin is detected.
As suggested in the review. Will be squashed. Signed-off-by: Maciej Perkowski <[email protected]>
1 parent eab03d1 commit ed226d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/pylib/twister/twisterlib/environment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,8 +775,8 @@ def parse_arguments(parser, args, options = None):
775775
options.extra_test_args = options.extra_test_args[1:]
776776

777777
if not options.allow_installed_plugin and PYTEST_PLUGIN_INSTALLED:
778-
logger.error("By default Twister should work with uninstalled "
779-
"pytest-twister-harness plugin, so please uninstall it by "
778+
logger.error("By default Twister should work without pytest-twister-harness "
779+
"plugin being installed, so please, uninstall it by "
780780
"`pip uninstall pytest-twister-harness` and `git clean "
781781
"-dxf scripts/pylib/pytest-twister-harness`.")
782782
sys.exit(1)

0 commit comments

Comments
 (0)