From 5f2a38dbc4bf732f51f6e155161ecca3d24a7347 Mon Sep 17 00:00:00 2001 From: Daniel McCloy Date: Tue, 13 Aug 2024 17:06:06 -0500 Subject: [PATCH] unpin pytest (#227) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- mne_connectivity/tests/test_envelope.py | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mne_connectivity/tests/test_envelope.py b/mne_connectivity/tests/test_envelope.py index 56544fc53..e55d29879 100644 --- a/mne_connectivity/tests/test_envelope.py +++ b/mne_connectivity/tests/test_envelope.py @@ -204,4 +204,5 @@ def test_symmetric_orth(ndim, generator): Z_bad = Z.copy() Z_bad[0] = Z[1] + Z[2] with pytest.warns(RuntimeWarning, match="rank deficient"): - symmetric_orth(Z_bad) + with pytest.warns(RuntimeWarning, match="did not converge"): + symmetric_orth(Z_bad) diff --git a/pyproject.toml b/pyproject.toml index aef5453e2..8f1c3e982 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,8 +107,8 @@ test = [ 'mne-connectivity[gui]', 'pandas', 'pymatreader', + 'pytest', 'pytest-cov', - 'pytest<8.0.0', 'statsmodels', ]