You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's an error when just running test_draw_hips_tile_grid because only in test_run the self.painter.run() is executed. Test functions should never depend on each other, all setup code should be in setup or fixture code. Not sure what the proper solution here is, either move the self.painter.run() to setup, or re-consider the setup / tests in this file and try to organise them in a better way.
Also, there is this MPL warning. I didn't track that down yet, maybe it's from here?
For linux we have already set the backend in ci-helpers to be non interactive (there it's called MPLBACKEND, maybe the same issue surfaced up here, too). I don't know the windows equivalent though. But if it's fixes it, I suppose we should add the fix to ci-helpers as well.
The latest photutils appveyor build was using mpl 3.0.1, so the issue may be present there, too.
I noticed an issue with https://github.com/hipspy/hips/blob/master/hips/draw/tests/test_paint.py
There's an error when just running
test_draw_hips_tile_grid
because only intest_run
theself.painter.run()
is executed. Test functions should never depend on each other, all setup code should be in setup or fixture code. Not sure what the proper solution here is, either move theself.painter.run()
to setup, or re-consider the setup / tests in this file and try to organise them in a better way.Also, there is this MPL warning. I didn't track that down yet, maybe it's from here?
hips/hips/draw/paint.py
Line 218 in e870e5c
Why do we call
subplot
for each tile? That's probably not a good idea, no?@adl1995 - I think you wrote this code? Could you maybe have a look?
The text was updated successfully, but these errors were encountered: