-
Notifications
You must be signed in to change notification settings - Fork 121
Resolve some test warnings #12562
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
Resolve some test warnings #12562
Conversation
/tmp/venv312/lib/python3.12/site-packages/_pytest/config/__init__.py:1428: PytestConfigWarning: Unknown config option: test_paths
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
This is not permitted according to the typing of ForwardModelStepPlugin
The Ensemble object that is mocked is treated as as sync code, providing an AsyncMock triggers a warning on function not being awaited
When snake_oil_case is in use, this is sometimes triggered through hypothesis.
2a74e6e to
964b8bd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12562 +/- ##
==========================================
- Coverage 90.62% 90.60% -0.02%
==========================================
Files 432 432
Lines 29738 29738
==========================================
- Hits 26949 26945 -4
- Misses 2789 2793 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
CodSpeed Performance ReportMerging #12562 will not alter performanceComparing Summary
|
Issue
Resolves noise in pytest output from expected warnings
Approach
Assert or ignore each warning
git rebase -i main --exec 'just rapid-tests')When applicable