diff --git a/mne/conftest.py b/mne/conftest.py index 18b16f6f9c4..92d077273de 100644 --- a/mne/conftest.py +++ b/mne/conftest.py @@ -166,7 +166,7 @@ def pytest_configure(config): # TODO: Fix this with casts? # https://github.com/numpy/numpy/pull/22449 try: - np.set_printoptions(legacy="1.25") + np.set_printoptions(legacy=125) except Exception: pass # probably missing kwarg