Scope: real function bodies with hist moments and supplied loadings; full package and C++ not loaded.
FF....                                                                   [100%]
=================================== FAILURES ===================================
_______ test_augmented_prior_matches_gaussian_conditioning[False-assets] _______
tests/test_augmented_historical_prior.py:32: in test_augmented_prior_matches_gaussian_conditioning
    mu, cov, weights = augmented_black_litterman(
riskfolio/src/ParamsEstimation.py:1501: in augmented_black_litterman
    inv(tau * S_a) @ PI_a_ + P_a.T @ inv(Omega_a) @ Q_a
    ^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 3 is different from 5)
______ test_augmented_prior_matches_gaussian_conditioning[False-factors] _______
tests/test_augmented_historical_prior.py:32: in test_augmented_prior_matches_gaussian_conditioning
    mu, cov, weights = augmented_black_litterman(
riskfolio/src/ParamsEstimation.py:1501: in augmented_black_litterman
    inv(tau * S_a) @ PI_a_ + P_a.T @ inv(Omega_a) @ Q_a
    ^^^^^^^^^^^^^^^^^^^^^^
E   ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 2 is different from 5)
=============================== warnings summary ===============================
tests/test_augmented_historical_prior.py: 10 warnings
  $PYTHON_ENV/lib/python3.12/site-packages/numpy/matrixlib/defmatrix.py:1116: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
    return matrix(concatenate(arr_rows, axis=0))

tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[False-assets]
tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[False-factors]
tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[True-assets]
tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[True-factors]
  $PYTHON_ENV/lib/python3.12/site-packages/numpy/matrixlib/defmatrix.py:1113: PendingDeprecationWarning: the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
    return matrix(concatenate(obj, axis=-1))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[False-assets]
FAILED tests/test_augmented_historical_prior.py::test_augmented_prior_matches_gaussian_conditioning[False-factors]
2 failed, 4 passed, 14 warnings in 0.07s
