Skip to content

Commit fc8b13d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 20850a3 commit fc8b13d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/hotelling_law/tests.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def test_decreasing_price_variance():
3232

3333
df_model = model.datacollector.get_model_vars_dataframe()
3434

35-
assert check_slope(
36-
df_model["Price Variance"], increasing=False
37-
), "The price variance should decrease over time."
35+
assert check_slope(df_model["Price Variance"], increasing=False), (
36+
"The price variance should decrease over time."
37+
)
3838

3939

4040
def test_constant_price_variance():
@@ -53,6 +53,6 @@ def test_constant_price_variance():
5353

5454
df_model = model.datacollector.get_model_vars_dataframe()
5555

56-
assert (
57-
get_slope(df_model["Price Variance"]) == 0
58-
), "The price variance constant over time."
56+
assert get_slope(df_model["Price Variance"]) == 0, (
57+
"The price variance constant over time."
58+
)

0 commit comments

Comments
 (0)