Skip to content

Commit 3c67cd7

Browse files
authored
Suppress matplotlib warnings on non-GUI use of show() (#5749)
Tests intentionally use a non-GUI matplotlib backend "agg". Reduce clutter in the pytest output.
1 parent e0ae7ca commit 3c67cd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ line-length = 100
33
target_version = ['py37', 'py38', 'py39']
44
skip-string-normalization = true
55
skip-magic-trailing-comma = true
6+
7+
[tool.pytest.ini_options]
8+
filterwarnings = [
9+
"ignore:Matplotlib is currently using agg:UserWarning",
10+
]

0 commit comments

Comments
 (0)