Skip to content

Commit

Permalink
test: fixed TypeError checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mwong009 committed Mar 6, 2024
1 parent e12f00c commit 6269f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ def test_make_tensor(lpmc_ds):
assert tensors1.ndim == tensors2.ndim

with pytest.raises(TypeError):
tensors3 = ds[[ds["cost_transit"], "cost_driving_ccharge"]]
tensors3 = ds[ds["cost_transit"], "cost_driving_ccharge", np.ones((3, 2))]

0 comments on commit 6269f13

Please sign in to comment.