diff --git a/tests/unit_tests/config/test_transfer_functions.py b/tests/unit_tests/config/test_transfer_functions.py index 3069f8f5482..a2182b3951a 100644 --- a/tests/unit_tests/config/test_transfer_functions.py +++ b/tests/unit_tests/config/test_transfer_functions.py @@ -177,7 +177,7 @@ def test_that_triangular_is_symmetric_around_mode(args): _mode, _min, _max = args # Ensure the triangular distribution is symmetric - assume(_mode == (_min + _max) / 2) + _mode = (_min + _max) / 2 ymode = (_mode - _min) / (_max - _min) delta = ymode / 2