-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to non-deterministic behaviour by removing long-range side effects (
#248) * Trying to stream CI * Added plt.figure to all fixtures * try `plt.figure()` specifically in the problematic `test_AreaPlot` * fix flake8 * create pytest fixture for opening new figure after closing all others * attempt explicitly closing box plot figures * remove new figure fixture since it did not do the trick * explicitly close figures after `.groupby` for good measure * trigger actions * Removing groupby code to see if this fixes * lint correction * Speculatively removed fixtures * Lint correction * Trying to make things more object oriented * belt and braces for boxplot * Attempt to eradicate all side effects * Upgraded to parallel tests again * provide new figure and axes explicitly for `test_AreaPlot` Co-authored-by: Lukas Hergt <[email protected]>
- Loading branch information
1 parent
9f57446
commit f349603
Showing
5 changed files
with
48 additions
and
119 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 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.
f349603
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing all the
plt.close("all")
from the tests leads to a warning that too many figures are open. I see this as an opportunity to group the tests into classes, as I think inheriting frompandas
'sTestPlotBase
would take care of this.