Skip to content

Commit ab9e10a

Browse files
authored
Suppress matplotlib warnings on non-interactive use of show() (#6449)
This is an intended behavior in tests.
1 parent 34a8e59 commit ab9e10a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ skip-magic-trailing-comma = true
77
[tool.pytest.ini_options]
88
filterwarnings = [
99
"ignore:Matplotlib is currently using agg:UserWarning",
10+
"ignore:FigureCanvasAgg is non-interactive.*cannot be shown:UserWarning",
1011
]
1112
markers = [
1213
"rigetti_integration: tests that connect to Quil compiler or QVM.",

0 commit comments

Comments
 (0)