●Change8

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