pytest v5.4.2 Release Notes

Release Date: 2020-05-08 // almost 4 years ago
  • โœ… pytest 5.4.2 (2020-05-08)

    ๐Ÿ› Bug Fixes

    • โœ… #6871: Fix crash with captured output when using the capsysbinary fixture <capsysbinary>.
    • โœ… #6924: Ensure a unittest.IsolatedAsyncioTestCase is actually awaited.
    • โœ… #6925: Fix TerminalRepr instances to be hashable again.
    • โœ… #6947: Fix regression where functions registered with TestCase.addCleanup were not being called on test failures.
    • โœ… #6951: Allow users to still set the deprecated TerminalReporter.writer attribute.
    • โช #6992: Revert "tmpdir: clean up indirection via config for factories" #6767 as it breaks pytest-xdist.
    • โœ… #7110: Fixed regression: asyncbase.TestCase tests are executed correctly again.
    • โœ… #7143: Fix File.from_constructor so it forwards extra keyword arguments to the constructor.
    • #7145: Classes with broken __getattribute__ methods are displayed correctly during failures.
    • #7180: Fix _is_setup_py for files encoded differently than locale.