Skip to content

Commit

Permalink
Merge pull request #212 from cvxgrp/tschm-patch-22
Browse files Browse the repository at this point in the history
Update test_builder.py
  • Loading branch information
tschm authored Nov 26, 2023
2 parents d5558fe + 6a52c14 commit 2831c05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_weights_on_wrong_days(resource_dir):

with pytest.raises(ValueError):
b[t[-1]] = pd.Series(index={"A", "B", "C"}, data=[5, 5, 5])

for t, state in b:
b.set_weights(
t[-1],
Expand All @@ -308,4 +308,3 @@ def test_weights_on_wrong_days(resource_dir):
dtype=float,
),
)
# assert False

0 comments on commit 2831c05

Please sign in to comment.