From 69ae5109e271abc48b7ec641d26dd54efe618cf2 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sun, 26 Nov 2023 20:49:16 +0400 Subject: [PATCH 1/2] Update test_builder.py --- tests/test_builder.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_builder.py b/tests/test_builder.py index 809edfc3..b5a5772f 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -308,4 +308,3 @@ def test_weights_on_wrong_days(resource_dir): dtype=float, ), ) - # assert False From 6a52c14186148a6e937d9d9221497a6c1dd0bb65 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sun, 26 Nov 2023 20:50:49 +0400 Subject: [PATCH 2/2] fmt --- tests/test_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_builder.py b/tests/test_builder.py index b5a5772f..57221aa2 100644 --- a/tests/test_builder.py +++ b/tests/test_builder.py @@ -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],