From 388c8cc9fb4076fe2d9f3613f5ee43bbb355f13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sat, 16 Sep 2023 10:05:10 +0200 Subject: [PATCH] TST: filter a new warning in maptlotlib 3.8 when testing docs in non-interactive agg backend --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 718d3756..5cad66df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,6 +121,7 @@ addopts = "--ignore=benchmarks --ignore=paper --ignore=unyt/_mpl_array_converter filterwarnings = [ "error", "ignore:Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.:UserWarning", + "ignore:FigureCanvasAgg is non-interactive, and thus cannot be shown:UserWarning", "ignore:In accordance with NEP 32:DeprecationWarning", "ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning", ]