Skip to content

Commit

Permalink
test: remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
chilango74 committed Jul 5, 2024
1 parent 0cdde3b commit 2813aed
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/test_portfolio.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,18 +435,6 @@ def test_dcf_monte_carlo_survival_period(portfolio_cashflows_inflation_large_cf,
assert result.mean() == approx(expected, rel=1e-1)


def test_dcf_plot_forecast_monte_carlo(portfolio_cashflows_inflation_large_cf):
axes_data = np.array(portfolio_cashflows_inflation_large_cf.dcf.plot_forecast_monte_carlo(
distr="norm",
years=1,
backtest=True,
n=2,
figsiz=None
))
assert len(axes_data) = 2
assert axes_data.lines[0].get_data().shape[0] == 12
assert axes_data.lines[0].get_data()[0] == approx(portfolio_cashflows_inflation_large_cf.initial_amount, abs=1e-1)




Expand Down

0 comments on commit 2813aed

Please sign in to comment.