We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20850a3 commit fc8b13dCopy full SHA for fc8b13d
examples/hotelling_law/tests.py
@@ -32,9 +32,9 @@ def test_decreasing_price_variance():
32
33
df_model = model.datacollector.get_model_vars_dataframe()
34
35
- assert check_slope(
36
- df_model["Price Variance"], increasing=False
37
- ), "The price variance should decrease over time."
+ assert check_slope(df_model["Price Variance"], increasing=False), (
+ "The price variance should decrease over time."
+ )
38
39
40
def test_constant_price_variance():
@@ -53,6 +53,6 @@ def test_constant_price_variance():
53
54
55
56
- assert (
57
- get_slope(df_model["Price Variance"]) == 0
58
- ), "The price variance constant over time."
+ assert get_slope(df_model["Price Variance"]) == 0, (
+ "The price variance constant over time."
0 commit comments