larray-project / larray

N-dimensional labelled arrays in Python
https://larray.readthedocs.io/
GNU General Public License v3.0
8 stars 6 forks source link

Fixed more CheckedSession warning messages stacklevel and make test suite free of warning messages #975

Closed gdementen closed 3 years ago

gdementen commented 3 years ago

@alixdamman: I would be grateful if you could try to keep the test suite free of (expected) warnings

gdementen commented 3 years ago

The "source"/stacklevel of warnings is now correct in all but one weird case (see the FIXME next to pandas_hdf).

Concerning the CheckedSession warnings, I simply marked all the warnings I received as expected. Maybe some of them were not. I didn't really analyze the code to determine that. Could you check if that seems alright to you?

Also, some tests (data) could be changed to avoid the warnings in the first place but I didn't make that exercice and I don't think it's worth it to do it now.