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

Commit edc435e

Browse files
fchapotonMatthias Koeppe
authored andcommitted
re-activate abc warnings
1 parent eced0de commit edc435e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sage/all.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@
9494
warnings.filterwarnings('ignore', category=DeprecationWarning,
9595
module='(scipy|networkx)')
9696

97-
# Ignore collections.abc warnings, there are a lot of them but they are
98-
# harmless.
99-
warnings.filterwarnings('ignore', category=DeprecationWarning,
100-
message='.*collections[.]abc.*')
10197
# However, be sure to keep OUR deprecation warnings
10298
warnings.filterwarnings('default', category=DeprecationWarning,
10399
message=r'[\s\S]*See https?://trac\.sagemath\.org/[0-9]* for details.')
@@ -323,6 +319,7 @@ def quit_sage(verbose=True):
323319
# From now on it is ok to resolve lazy imports
324320
sage.misc.lazy_import.finish_startup()
325321

322+
326323
def sage_globals():
327324
r"""
328325
Return the Sage namespace.

0 commit comments

Comments
 (0)