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 Python 3.9 deprecation warnings from ast
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Sep 18, 2020
1 parent 68ef4c5 commit f3cb571
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 @@ -102,6 +102,11 @@
# However, be sure to keep OUR deprecation warnings
warnings.filterwarnings('default', category=DeprecationWarning,
message=r'[\s\S]*See https\?://trac\.sagemath\.org/[0-9]* for details.')

# Ignore Python 3.9 deprecation warnings
warnings.filterwarnings('ignore', category=DeprecationWarning,
module='.*ast')

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


Expand Down

0 comments on commit f3cb571

Please sign in to comment.