Skip to content

Commit cc39e21

Browse files
committed
Add ImportWarning filter for get_attr test (needed for gtk4)
1 parent 4b0f499 commit cc39e21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_getattr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
@pytest.mark.parametrize('module_name', module_names)
2020
@pytest.mark.filterwarnings('ignore::DeprecationWarning')
21+
@pytest.mark.filterwarnings('ignore::ImportWarning')
2122
def test_getattr(module_name):
2223
"""
2324
Test that __getattr__ methods raise AttributeError for unknown keys.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy