File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
4040def 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+ )
You can’t perform that action at this time.
0 commit comments