Skip to content

Commit

Permalink
--no-print-logs is deprecated, replace with --show-capture
Browse files Browse the repository at this point in the history
https://happytest.readthedocs.io/en/apidoc/changelog/

In this PR pytest-dev/pytest#3238
The parameter --no-print-logs is deprecated and meant to be removed in
a future release.
If you use --no-print-logs, please try out --show-capture and provide feedback.

So, changing this option to --show-capture=no

Signed-off-by: Petr Balogh <pbalogh@redhat.com>
  • Loading branch information
petr-balogh committed Aug 19, 2021
1 parent 0597b8c commit 29a42a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
Expand Up @@ -45,7 +45,7 @@ log_format = %(asctime)s - %(threadName)s - %(name)s - %(levelname)s - %(message
log_cli=true
log_cli_level = INFO
log_level = DEBUG
addopts = --ignore=ocs_ci --no-print-logs
addopts = --ignore=ocs_ci --show-capture=no
testpaths = tests
# Pin junit_family to xunit 1.0
junit_family = xunit1
Expand Down

0 comments on commit 29a42a2

Please sign in to comment.