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

Adjust tests to quiet expected warnings #12961

Open
mr-c opened this issue Nov 22, 2021 · 0 comments
Open

Adjust tests to quiet expected warnings #12961

mr-c opened this issue Nov 22, 2021 · 0 comments

Comments

@mr-c
Copy link
Contributor

mr-c commented Nov 22, 2021

https://docs.pytest.org/en/stable/warnings.html#pytest-mark-filterwarnings

For example, this successful test run includes 484 lines of warnings: https://github.com/galaxyproject/galaxy/runs/4284989318?check_suite_focus=true#step:9:3253

Warnings should either be

  1. expected and quieted with @pytest.mark.filterwarnings at the test, class, or even module level
  2. not expected, and either fixed or have an issue filed
@mr-c mr-c changed the title Paper cut: Adjust tests to quiet expected warnings Adjust tests to quiet expected warnings Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants