Skip to content

Commit

Permalink
making 3.8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Heindl committed Sep 22, 2023
1 parent c4ecacc commit 0708b3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion motmetrics/tests/test_mot.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@ def test_merge_dataframes():

idx = expect.index
expect.index = expect.index.set_levels(
[idx.levels[0].astype(object), idx.levels[1].astype(object)]
[
idx.levels[0].astype(r.index.levels[0].dtype),
idx.levels[1].astype(r.index.levels[1].dtype),
]
)
pd.testing.assert_frame_equal(r, expect)

0 comments on commit 0708b3f

Please sign in to comment.