-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: capture UserWarning in tests that trigger it
The smoothing work generated a large number of UserWarning messages from tests that were not captured and therefore appeared as noise in the pytest output. Capture all of these and inspect them in each test to make sure the right one is being triggered. Correct several tests that were improperly emitting warnings or were emitting the wrong warning for the test case. Remove unnecessary fixtures for smoothing-failure cases because those can simply be checked against the unsmoothed output.
- Loading branch information
Showing
12 changed files
with
147 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
123 changes: 0 additions & 123 deletions
123
tests/expectations/mr-x-ca-cat-x-ca-subvar-unsmoothed-col-pct.py
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.