Skip to content

Commit

Permalink
Can't filter warnings due to deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 authored Aug 2, 2024
1 parent 4999d36 commit 601404c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phy/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
# Fix the random seed in the tests.
np.random.seed(2019)

warnings.filterwarnings('ignore', category=matplotlib.cbook.mplDeprecation)
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
# warnings.filterwarnings('ignore', category=matplotlib.cbook.mplDeprecation)
# warnings.filterwarnings("ignore", message="numpy.dtype size changed")
# warnings.filterwarnings("ignore", message="numpy.ufunc size changed")


def pytest_addoption(parser):
Expand Down

0 comments on commit 601404c

Please sign in to comment.