tests: Improve test_version output

This commit is contained in:
Florian Bruhin 2025-11-21 18:39:24 +01:00
parent 59a64af67f
commit 4f40a8b46b
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ def test_optimize(request, quteproc_new, capfd, level):
def test_version(request): def test_version(request):
"""Test invocation with --version argument.""" """Test invocation with --version argument."""
args = ['-m', 'qutebrowser', '--version'] + _base_args(request.config) args = ['-m', 'qutebrowser', '--version'] + _base_args(request.config)
args.remove("--json-logging")
# can't use quteproc_new here because it's confused by # can't use quteproc_new here because it's confused by
# early process termination # early process termination
proc = QProcess() proc = QProcess()