From 2da45b8e75421879d1096495a4fb438de705f567 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 19 Sep 2024 17:34:28 +0200 Subject: [PATCH] tests: Ignore deprecation warnings due to RFC 66. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7b4611e..45abf91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,8 @@ docs = [ [tool.pdm.scripts] test.composite = ["test-code"] -test-code.env = {PYTHONWARNINGS = "error"} +# TODO: Once the amaranth requirement is bumped to 0.6, remove the RFC 66 warning filter and fix the deprecations. +test-code.env = {PYTHONWARNINGS = "error,ignore:Per RFC 66,:DeprecationWarning"} test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v" test-docs.cmd = "sphinx-build -b doctest docs/ docs/_build"