Skip to content

Commit 2813aed

Browse files
committed
test: remove test
1 parent 0cdde3b commit 2813aed

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_portfolio.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -435,18 +435,6 @@ def test_dcf_monte_carlo_survival_period(portfolio_cashflows_inflation_large_cf,
435435
assert result.mean() == approx(expected, rel=1e-1)
436436

437437

438-
def test_dcf_plot_forecast_monte_carlo(portfolio_cashflows_inflation_large_cf):
439-
axes_data = np.array(portfolio_cashflows_inflation_large_cf.dcf.plot_forecast_monte_carlo(
440-
distr="norm",
441-
years=1,
442-
backtest=True,
443-
n=2,
444-
figsiz=None
445-
))
446-
assert len(axes_data) = 2
447-
assert axes_data.lines[0].get_data().shape[0] == 12
448-
assert axes_data.lines[0].get_data()[0] == approx(portfolio_cashflows_inflation_large_cf.initial_amount, abs=1e-1)
449-
450438

451439

452440

0 commit comments

Comments
 (0)