Skip to content

Commit

Permalink
fix: assert outer exception; not sure how to assert for the original …
Browse files Browse the repository at this point in the history
…exception
  • Loading branch information
RemyLau committed Dec 3, 2023
1 parent 09b3bde commit f3c3240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def test_get_data(subtests):
assert y_test.tolist() == [[2]]

# Validation set not set
pytest.raises(KeyError, data.get_val_data)
pytest.raises(RuntimeError, data.get_val_data)

with subtests.test("Multi feature"):
data = Data(adata.copy(), train_size=2)
Expand Down

0 comments on commit f3c3240

Please sign in to comment.