pytest 7.1.2 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade:

pip install --upgrade pytest

The full changelog is available at

Thanks to all of the contributors to this release:

  • Anthony Sottile

  • Bruno Oliveira

  • Hugo van Kemenade

  • Kian Eliasi

  • Ran Benita

  • Zac Hatfield-Dodds

Happy testing, The pytest Development Team