Skip to content

Commit

Permalink
Replace deprecating drop with drop_vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lochhh committed Dec 4, 2023
1 parent 623597b commit 75938f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_unit/test_load_poses.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def test_load_from_sleap_file_without_tracks(
# the assigned default "individuals_0"
assert ds_from_trackless.individuals == ["individual_0"]
xr.testing.assert_allclose(
ds_from_trackless.drop("individuals"),
ds_from_tracked.drop("individuals"),
ds_from_trackless.drop_vars("individuals"),
ds_from_tracked.drop_vars("individuals"),
)

@pytest.mark.parametrize(
Expand Down

0 comments on commit 75938f8

Please sign in to comment.