File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,11 +121,11 @@ def test_ef_points_reb(init_efficient_frontier_reb):
121121def test_minimize_risk_with_bounds (init_frontier_with_bounds ):
122122 params = test_params ["with_bounds" ]
123123
124- result = init_frontier_with_bounds .minimize_risk (params ["target_cagr_1" ])
125- assert np .isclose (result ["Risk" ], params ["expected_risk_1" ], atol = 1e-2 )
124+ result1 = init_frontier_with_bounds .minimize_risk (params ["target_cagr_1" ])
125+ assert np .isclose (result1 ["Risk" ], params ["expected_risk_1" ], atol = 1e-1 )
126126
127- result = init_frontier_with_bounds .minimize_risk (params ["target_cagr_2" ])
128- assert np .isclose (result ["Risk" ], params ["expected_risk_2" ], atol = 1e-2 )
127+ result2 = init_frontier_with_bounds .minimize_risk (params ["target_cagr_2" ])
128+ assert np .isclose (result2 ["Risk" ], params ["expected_risk_2" ], atol = 1e-1 )
129129
130130
131131@mark .rebalance
You can’t perform that action at this time.
0 commit comments