Tests fail on all Windows builds, with error FAILED trackpy/tests/test_motion.py::TestDrift::test_constant_drift - AssertionError: DataFrame.index are different
Here is one of the failing tests:
def test_no_drift(self):
N = 10
expected = DataFrame({'x': np.zeros(N), 'y': np.zeros(N)}).iloc[1:]
expected = expected.astype('float')
expected.index.name = 'frame'
expected.columns = ['x', 'y']
# ^ no drift measured for Frame 0
actual = tp.compute_drift(self.dead_still)
> assert_frame_equal(actual, expected[['y', 'x']])
In this case, actual has index dtype int32 and expected is int64. From reviewing the source code, it's unclear how the switch could happen anywhere, except perhaps in a low-level numpy or scipy function. The best course of action might be to wait for new versions of these dependencies to be released.
Tests fail on all Windows builds, with error
FAILED trackpy/tests/test_motion.py::TestDrift::test_constant_drift - AssertionError: DataFrame.index are different
Here is one of the failing tests:
In this case,
actual
has index dtypeint32
andexpected
isint64
. From reviewing the source code, it's unclear how the switch could happen anywhere, except perhaps in a low-level numpy or scipy function. The best course of action might be to wait for new versions of these dependencies to be released.This was first observed in #743.