Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
XianzheMa committed Sep 6, 2024
1 parent b514384 commit 4524018
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_get_tensors_subset_invalid_index():
# Test when selected_indexes contains an invalid index
selected_indexes.append(999)

with pytest.raises(ValueError):
with pytest.raises(KeyError):
get_tensors_subset(selected_indexes, data, target, sample_ids)


Expand Down

0 comments on commit 4524018

Please sign in to comment.