From 847c9538b5a381b057caa8e732c9e655a0faa877 Mon Sep 17 00:00:00 2001 From: Jeff Dairiki Date: Fri, 23 Sep 2022 10:11:49 -0700 Subject: [PATCH] Don't fail tests upon warnings from external packages. E.g. marshmallow<3.15 generates a deprecation warning from distutils. There's no reason that should cause a test failure for us. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d9205d4..f202e1b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,5 +4,5 @@ target-version = ['py36', 'py37', 'py38'] [tool.pytest.ini_options] filterwarnings = [ - "error", + "error:::marshmallow_dataclass|test", ]