Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc39e21

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

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎lib/matplotlib/tests/test_getattr.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_getattr.py
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.