Skip to content

Commit

Permalink
Merge branch 'main' into numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jul 26, 2023
2 parents 88367dc + 0fd4ded commit d46c9aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mne/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ def pytest_configure(config):
warning_line = warning_line.strip()
if warning_line and not warning_line.startswith("#"):
config.addinivalue_line("filterwarnings", warning_line)
# TODO: Fix this with casts?
# https://github.com/numpy/numpy/pull/22449
if check_version("numpy", "1.26"):
np.set_printoptions(legacy="1.25")


# Have to be careful with autouse=True, but this is just an int comparison
Expand Down

0 comments on commit d46c9aa

Please sign in to comment.