pytest-2.9.1

pytest is a mature Python testing tool with more than 1100 tests against itself, passing on many different interpreters and platforms.

See below for the changes and see docs at:

As usual, you can upgrade from pypi via:

pip install -U pytest

Thanks to all who contributed to this release, among them:

Bruno Oliveira Daniel Hahler Dmitry Malinovsky Florian Bruhin Floris Bruynooghe Matt Bachmann Ronny Pfannschmidt TomV Vladimir Bolshakov Zearin palaviv

Happy testing, The py.test Development Team

2.9.1 (compared to 2.9.0)

Bug Fixes

  • Improve error message when a plugin fails to load. Thanks @nicoddemus for the PR.

  • Fix (#1178): pytest.fail with non-ascii characters raises an internal pytest error. Thanks @nicoddemus for the PR.

  • Fix (#469): junit parses report.nodeid incorrectly, when params IDs contain ::. Thanks @tomviner for the PR (#1431).

  • Fix (#578): SyntaxErrors containing non-ascii lines at the point of failure generated an internal py.test error. Thanks @asottile for the report and @nicoddemus for the PR.

  • Fix (#1437): When passing in a bytestring regex pattern to parameterize attempt to decode it as utf-8 ignoring errors.

  • Fix (#649): parametrized test nodes cannot be specified to run on the command line.