Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Update default_filter_warning.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 17, 2021
1 parent 4158caa commit 12c7617
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pyquickhelper/pycode/default_filter_warning.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ class UnusedException(Exception):
elif isinstance(w.message, DeprecationWarning):
if w.filename in ('', None):
return False
if "`np.str`" in str(w):
return False
if "`np.bool`" in str(w):
return False
if "RemovedInSphinx40Warning" in str(w):
return False
if w.filename.endswith("kernelspec.py"):
Expand Down

0 comments on commit 12c7617

Please sign in to comment.