Skip to content

5.1.2

Compare
Choose a tag to compare
@nicoddemus nicoddemus released this 30 Aug 19:03
· 5043 commits to main since this release

pytest 5.1.2 (2019-08-30)

Bug Fixes

  • #2270: Fixed
    self reference in function-scoped fixtures defined plugin classes:
    previously self would be a reference to a test class, not the
    plugin class.
  • #570: Fixed long
    standing issue where fixture scope was not respected when indirect
    fixtures were used during parametrization.
  • #5782: Fix
    decoding error when printing an error response from --pastebin.
  • #5786: Chained
    exceptions in test and collection reports are now correctly
    serialized, allowing plugins like pytest-xdist to display
    them properly.
  • #5792: Windows:
    Fix error that occurs in certain circumstances when loading
    conftest.py from a working directory that has casing other than
    the one stored in the filesystem (e.g., c:\test instead of
    C:\test).