diff options
author | Claire Cecil <clairekcecil@gmail.com> | 2020-05-23 10:27:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 11:27:58 -0300 |
commit | 79701c65ed47d9fd9dbc8949a49136f25506d9e0 (patch) | |
tree | ca69b5d90ec708ca064a68b1625c7a42344d5527 /testing/test_config.py | |
parent | 05c22ff82363c1d11fa6d593dd4f404819abc69e (diff) | |
download | pytest-79701c65ed47d9fd9dbc8949a49136f25506d9e0.tar.gz |
Added support for less verbose version information (#7169)
Diffstat (limited to 'testing/test_config.py')
-rw-r--r-- | testing/test_config.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testing/test_config.py b/testing/test_config.py index 7d553e63b..17385dc17 100644 --- a/testing/test_config.py +++ b/testing/test_config.py @@ -1243,9 +1243,7 @@ def test_help_and_version_after_argument_error(testdir): assert result.ret == ExitCode.USAGE_ERROR result = testdir.runpytest("--version") - result.stderr.fnmatch_lines( - ["*pytest*{}*imported from*".format(pytest.__version__)] - ) + result.stderr.fnmatch_lines(["pytest {}".format(pytest.__version__)]) assert result.ret == ExitCode.USAGE_ERROR |