Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging: fix handler level restored incorrectly if caplog.set_level is called more than once #7673

Merged
merged 1 commit into from Aug 23, 2020

Conversation

bluetech
Copy link
Member

Fixes #7672.

@bluetech bluetech added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Aug 22, 2020
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@bluetech bluetech merged commit 143e3ab into pytest-dev:master Aug 23, 2020
bluetech added a commit to bluetech/pytest that referenced this pull request Aug 23, 2020
…restore

logging: fix handler level restored incorrectly if caplog.set_level is called more than once
(cherry picked from commit 143e3ab)
@bluetech bluetech deleted the logging-fix-handler-restore branch August 24, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logging: handler level restored incorrectly if caplog.set_level is called more than once
3 participants