Skip to content

5.4.2

Compare
Choose a tag to compare
@nicoddemus nicoddemus released this 08 May 11:58
· 4397 commits to main since this release

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.