8.4.1
π¦ pytestView on GitHub β
π 3 fixesπ§ 3 symbols
Summary
pytest 8.4.1 fixes several bugs including TerminalReporter.isatty handling, restores the PytestReturnNotNoneWarning, and adds compatibility with Twisted 25+.
π Bug Fixes
- Corrected `_pytest.terminal.TerminalReporter.isatty` to support being called as a method instead of being a boolean, fixing failures when using `-o log_cli=true`.
- Reintroduced `pytest.PytestReturnNotNoneWarning` which was accidentally removed in pytest 8.4; this warning is emitted when a test function returns a nonβNone value.
- Fixed compatibility with Twisted 25+.
π§ Affected Symbols
_pytest.terminal.TerminalReporter.isattypytest.PytestReturnNotNoneWarningTwisted