Skip to content

Commit 0708b3f

Browse files
author
Christoph Heindl
committed
making 3.8 happy
1 parent c4ecacc commit 0708b3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

motmetrics/tests/test_mot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,9 @@ def test_merge_dataframes():
310310

311311
idx = expect.index
312312
expect.index = expect.index.set_levels(
313-
[idx.levels[0].astype(object), idx.levels[1].astype(object)]
313+
[
314+
idx.levels[0].astype(r.index.levels[0].dtype),
315+
idx.levels[1].astype(r.index.levels[1].dtype),
316+
]
314317
)
315318
pd.testing.assert_frame_equal(r, expect)

0 commit comments

Comments
 (0)