diff --git a/testing/test_config.py b/testing/test_config.py index 6f8d0d50a..ac0c159a8 100644 --- a/testing/test_config.py +++ b/testing/test_config.py @@ -2118,7 +2118,7 @@ class TestDebugOptions: result.stdout.fnmatch_lines( [ "*Store internal tracing debug information in this log*", - "*This file is opened with 'w' and truncated as a result*", + "*file. This file is opened with 'w' and truncated as a*", "*Default: pytestdebug.log.", ] ) diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py index 86ad078b9..ba89d0c4a 100644 --- a/testing/test_helpconfig.py +++ b/testing/test_helpconfig.py @@ -30,8 +30,8 @@ def test_help(pytester: Pytester) -> None: assert result.ret == 0 result.stdout.fnmatch_lines( """ - -m MARKEXPR Only run tests matching given mark expression. - For example: -m 'mark1 and not mark2'. + -m MARKEXPR Only run tests matching given mark expression. For + example: -m 'mark1 and not mark2'. Reporting: --durations=N * -V, --version Display pytest version and information about plugins.