........s................................................s...s.....s.... [ 88%]
.........                                                                [100%]
=============================== warnings summary ===============================
tests/test_efficient_frontier.py::test_min_volatility_sector_constraints
  $WORKSPACE/pypfopt-neutral/pypfopt/base/_base_optimizer.py:429: UserWarning: Sector constraints may not produce reasonable results if shorts are allowed.
    warnings.warn(

tests/test_efficient_frontier.py::test_max_sharpe_long_only
  $WORKSPACE/pypfopt-neutral/pypfopt/efficient_frontier/efficient_frontier.py:498: UserWarning: The risk_free_rate provided to portfolio_performance is different to the one used by max_sharpe. Using the previous value.
    warnings.warn(

tests/test_efficient_frontier.py::test_max_sharpe_L2_reg_different_gamma
tests/test_efficient_frontier.py::test_max_sharpe_L2_reg_different_gamma
tests/test_efficient_frontier.py::test_max_sharpe_L2_reg_reduces_sharpe
tests/test_efficient_frontier.py::test_max_sharpe_L2_reg_with_shorts
  $WORKSPACE/pypfopt-neutral/pypfopt/efficient_frontier/efficient_frontier.py:281: UserWarning: max_sharpe transforms the optimization problem so additional objectives may not work as expected.
    warnings.warn(

tests/test_efficient_frontier.py: 14 warnings
  $PYTHON_ENV/lib/python3.12/site-packages/numpy/linalg/_linalg.py:3383: RuntimeWarning: divide by zero encountered in matmul
    return _core_matmul(x1, x2)

tests/test_efficient_frontier.py: 14 warnings
  $PYTHON_ENV/lib/python3.12/site-packages/numpy/linalg/_linalg.py:3383: RuntimeWarning: overflow encountered in matmul
    return _core_matmul(x1, x2)

tests/test_efficient_frontier.py: 14 warnings
  $PYTHON_ENV/lib/python3.12/site-packages/numpy/linalg/_linalg.py:3383: RuntimeWarning: invalid value encountered in matmul
    return _core_matmul(x1, x2)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
77 passed, 4 skipped, 48 warnings in 3.33s
