From f2372310c186f87bb312be1515970127f2f5725a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 25 Apr 2022 22:06:36 +0300 Subject: [PATCH] Update tests --- testing/test_config.py | 2 +- testing/test_helpconfig.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.