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

Commit

Permalink
src/sage/all.py: Filter out imghdr deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Nov 25, 2022
1 parent bc69b33 commit c928c2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sage/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@
message=r'(path|read_binary) is deprecated\. Use files\(\) instead\.',
module='sage.repl.rich_output.output_(graphics|graphics3d|video)')

# triggered by sphinx
warnings.filterwarnings('ignore', category=DeprecationWarning,
message="'imghdr' is deprecated and slated for removal in Python 3.13",
module='sphinx.util.images')

################ end setup warnings ###############################


Expand Down

0 comments on commit c928c2c

Please sign in to comment.