Skip to content

Commit

Permalink
Update test_frontier.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm authored Jun 16, 2024
1 parent c159266 commit be9a03f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_frontier.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,4 @@ def test_frontiers(n, resource_dir):

assert np.sum(f_bailey.frontier[-1].weights) == pytest.approx(1)
assert np.sum(f_markowitz.frontier[-1].weights) == pytest.approx(1)

#assert len(f_bailey.frontier) == len(f_markowitz.frontier)
assert f_bailey.max_sharpe[0] == pytest.approx(f_markowitz.max_sharpe[0])

#for pt_bailey, pt_markowitz in zip(f_bailey.frontier, f_markowitz.frontier):
# assert np.allclose(pt_bailey.weights, pt_markowitz.weights, atol=1e-5)

0 comments on commit be9a03f

Please sign in to comment.