Skip to content

Commit

Permalink
FIX: Ig
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 16, 2024
1 parent 2ad7db1 commit 71b8dc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,8 @@ def reset_warnings(gallery_conf, fname):
r"The .* was deprecated in Matplotlib 3\.7",
# scipy
r"scipy.signal.morlet2 is deprecated in SciPy 1\.12",
# Matplotlib->tz
r"datetime\.datetime\.utcfromtimestamp",
):
warnings.filterwarnings( # deal with other modules having bad imports
"ignore", message=".*%s.*" % key, category=DeprecationWarning
Expand Down
2 changes: 2 additions & 0 deletions mne/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def pytest_configure(config):
ignore:Mesa version 10\.2\.4 is too old for translucent.*:RuntimeWarning
# Matplotlib <-> NumPy 2.0
ignore:`row_stack` alias is deprecated.*:DeprecationWarning
# Matplotlib->tz
ignore:datetime.datetime.utcfromtimestamp.*:DeprecationWarning
""" # noqa: E501
for warning_line in warning_lines.split("\n"):
warning_line = warning_line.strip()
Expand Down

0 comments on commit 71b8dc0

Please sign in to comment.