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

Commit 69a81ca

Browse files
author
Matthias Koeppe
committed
sage.all: Fix up filterwarnings for collections.abc
1 parent 04fdda6 commit 69a81ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
# Ignore collections.abc warnings, there are a lot of them but they are
9999
# harmless.
100100
warnings.filterwarnings('ignore', category=DeprecationWarning,
101-
message='collections[.]abc.*')
101+
message='.*collections[.]abc.*')
102102
# However, be sure to keep OUR deprecation warnings
103103
warnings.filterwarnings('default', category=DeprecationWarning,
104104
message=r'[\s\S]*See https?://trac\.sagemath\.org/[0-9]* for details.')

0 commit comments

Comments
 (0)