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

Commit

Permalink
Filter out locale DeprecationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 19, 2022
1 parent 3e86d91 commit ac0105e
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 @@ -125,6 +125,11 @@
message="'imghdr' is deprecated and slated for removal in Python 3.13",
module='sphinx.util.images')

# triggered by docutils 0.19 on Python 3.11
warnings.filterwarnings('ignore', category=DeprecationWarning,
message=r"Use setlocale\(\), getencoding\(\) and getlocale\(\) instead",
module='docutils.io')

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


Expand Down

0 comments on commit ac0105e

Please sign in to comment.