Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 17, 2022
1 parent 5c80d06 commit fbc6e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_costs_5D_names(signal_bkps_5D, cost_name):
cost.error(10, 50)
cost.sum_of_costs(bkps)
if cost_name == "l2":
assert cost.error(1, 2)==0., "CostL2 on segment of size 1 returns 0."
assert cost.error(1, 2) == 0.0, "CostL2 on segment of size 1 returns 0."

with pytest.raises(NotEnoughPoints):
if cost_name == "cosine":
Expand Down

0 comments on commit fbc6e4d

Please # to comment.