The assertions were failing because of the array == comparison.
Here we use numpy.testing.assert_array_equal to ensure the results are correct, and also test the list-of-arrays case. Gives 100% coverage of missing_inds.py
I'm closing this pull request-- I agree that we need better tests, but too much has changed since this pull request was made. I've added this issue as a reminder that this still needs addressing.
The assertions were failing because of the array
==
comparison.Here we use
numpy.testing.assert_array_equal
to ensure the results are correct, and also test the list-of-arrays case. Gives 100% coverage of missing_inds.py