Skip to content

Releases: pytest-dev/pytest

4.6.5

09 Aug 12:04
Compare
Choose a tag to compare

Bug Fixes

  • #4344: Fix RuntimeError/StopIteration when trying to collect package with "init.py" only.

  • #5478: Fix encode error when using unicode strings in exceptions with pytest.raises.

  • #5524: Fix issue where tmp_path and tmpdir would not remove directories containing files marked as read-only,
    which could lead to pytest crashing when executed a second time with the --basetemp option.

  • #5547: --step-wise now handles xfail(strict=True) markers properly.

  • #5650: Improved output when parsing an ini configuration file fails.

5.0.1

10 Aug 15:10
Compare
Choose a tag to compare

pytest 5.0.1 (2019-07-04)

Bug Fixes

  • #5479: Improve
    quoting in raises match failure message.
  • #5523: Fixed
    using multiple short options together in the command-line (for
    example -vs) in Python 3.8+.
  • #5547:
    --step-wise now handles xfail(strict=True) markers properly.

Improved Documentation

  • #5517: Improve
    "Declaring new hooks" section in chapter "Writing Plugins"