From 3cdc851133046bfa115bc2ce3fea3cd2dbb3c853 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 15 Feb 2021 19:19:41 -0300 Subject: [PATCH] Fix location of fspath deprecation warning ignore filter --- pyproject.toml | 1 - testing/plugins_integration/pytest.ini | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 92672c4d32e..dd4be6c22d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ filterwarnings = [ "default:invalid escape sequence:DeprecationWarning", # ignore use of unregistered marks, because we use many to test the implementation "ignore::_pytest.warning_types.PytestUnknownMarkWarning", - "default:.*.fspath is deprecated and will be replaced by .*.path.*:pytest.PytestDeprecationWarning", ] pytester_example_dir = "testing/example_scripts" markers = [ diff --git a/testing/plugins_integration/pytest.ini b/testing/plugins_integration/pytest.ini index f6c77b0dee5..b42b07d145a 100644 --- a/testing/plugins_integration/pytest.ini +++ b/testing/plugins_integration/pytest.ini @@ -2,3 +2,4 @@ addopts = --strict-markers filterwarnings = error::pytest.PytestWarning + ignore:.*.fspath is deprecated and will be replaced by .*.path.*:pytest.PytestDeprecationWarning