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.