Skip to content

Commit 746709e

Browse files
zypjfng
authored andcommitted
tests: Ignore deprecation warnings due to RFC 66.
1 parent 6cd3e1c commit 746709e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ docs = [
4343

4444
[tool.pdm.scripts]
4545
test.composite = ["test-code"]
46-
test-code.env = {PYTHONWARNINGS = "error"}
46+
# TODO: Once the amaranth requirement is bumped to 0.6, remove the RFC 66 warning filter and fix the deprecations.
47+
test-code.env = {PYTHONWARNINGS = "error,ignore:Per RFC 66,:DeprecationWarning"}
4748
test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v"
4849
test-docs.cmd = "sphinx-build -b doctest docs docs/_build"
4950

0 commit comments

Comments
 (0)