-
Notifications
You must be signed in to change notification settings - Fork 199
Use add_color_level() conditionally #1592
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
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR, this is missing a DCO, you can add this with |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #1592 +/- ##
========================================
- Coverage 56.0% 55.8% -0.3%
========================================
Files 170 170
Lines 13307 13369 +62
========================================
+ Hits 7458 7461 +3
- Misses 5849 5908 +59
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2c6c3b8
to
36a898a
Compare
0b5172b
to
4d98bb2
Compare
Your name in the DCO matches, but the email adress does not. |
According to [1] add_color_level() is a method of ColoredLevelFormatter only. [1] https://github.com/pytest-dev/pytest/blob/main/src/_pytest/logging.py#L104 Change-Id: Iaa67c613b196b9cbbbc930d547edaa784d545130 Signed-off-by: Roman Kuznecov <[email protected]>
4d98bb2
to
43b5325
Compare
Yeap, sorry, it's my bad |
Description
According to [1] add_color_level() is a method of ColoredLevelFormatter
only. The exception AttributeError is raised for other formatters.
[1] https://github.com/pytest-dev/pytest/blob/main/src/_pytest/logging.py#L104
Checklist