pytest 4.2.1 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 who contributed to this release, among them:

  • Anthony Sottile

  • Arel Cordero

  • Bruno Oliveira

  • Daniel Hahler

  • Holger Kohr

  • Kevin J. Foley

  • Nick Murphy

  • Paweł Stradomski

  • Raphael Pierzina

  • Ronny Pfannschmidt

  • Sam Brightman

  • Thomas Hisch

  • Zac Hatfield-Dodds

Happy testing, The pytest Development Team