Skip to content

TST: reduce default verbosity in pytest test sessions #5230

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

Merged

Conversation

neutrinoceros
Copy link
Member

PR Summary

CI logs are extremely verbose at the moment, where each and every test case prints a full line of log, amounting to ~10k lines in wheel testing jobs, which is very rarely (if ever) useful. Meanwhile, this logging strategy omits something actually useful: an overview of the current progress in a session. Reducing verbosity solves both issues.

PR Checklist

  • New features are documented, with docstrings and narrative docs
  • Adds a test for any bugs fixed. Adds tests for new features.

@neutrinoceros neutrinoceros added this to the 4.5.0 milestone Jul 25, 2025
@neutrinoceros neutrinoceros added enhancement Making something better tests: running tests Issues with the test setup pytest labels Jul 25, 2025
@neutrinoceros neutrinoceros marked this pull request as ready for review July 25, 2025 10:06
Copy link
Contributor

@chrishavlin chrishavlin left a comment

Choose a reason for hiding this comment

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

nice.

@neutrinoceros neutrinoceros merged commit f3a355c into yt-project:main Jul 26, 2025
12 of 13 checks passed
@neutrinoceros neutrinoceros deleted the tst/reduce-test-logging-verbosity branch July 26, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better pytest tests: running tests Issues with the test setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants