Skip to content

Commit

Permalink
Suppress matplotlib warnings on non-interactive use of show() (#6449)
Browse files Browse the repository at this point in the history
This is an intended behavior in tests.
  • Loading branch information
pavoljuhas authored Feb 8, 2024
1 parent 34a8e59 commit ab9e10a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ skip-magic-trailing-comma = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore:Matplotlib is currently using agg:UserWarning",
"ignore:FigureCanvasAgg is non-interactive.*cannot be shown:UserWarning",
]
markers = [
"rigetti_integration: tests that connect to Quil compiler or QVM.",
Expand Down

0 comments on commit ab9e10a

Please sign in to comment.