From be9a03f25e8fe7bb06ee7e7d17eedeeec862baca Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Sun, 16 Jun 2024 16:39:39 +0400 Subject: [PATCH] Update test_frontier.py --- tests/test_frontier.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_frontier.py b/tests/test_frontier.py index 9f4a824..ab711ff 100644 --- a/tests/test_frontier.py +++ b/tests/test_frontier.py @@ -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)