Skip to content
Prev Previous commit
Next Next commit
Ignore Trio's Linux pidfd encoding warning
  • Loading branch information
Kludex committed Sep 16, 2026
commit 48484957209d64a636fb575a0bcd732759cb7e38
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ filterwarnings = [
# CI and scripts/test set PYTHONWARNDEFAULTENCODING=1, so "error" rejects any text I/O
# of ours that omits encoding=; pytest-examples' own unguarded text I/O isn't ours.
"ignore:'encoding' argument not specified:EncodingWarning:pytest_examples",
# Trio wraps Linux pidfds in text mode without encoding=; only fileno()/close() are used.
"ignore:'encoding' argument not specified:EncodingWarning:trio\\._subprocess$",
]

[tool.markdown.lint]
Expand Down
Loading