- Set
stdinto a closedPIPEinpytester.py.Testdir.popen()for avoid unwanted interactivepdb(#2023) - Add missing
encodingattribute tosys.std*streams when usingcapsyscapture mode. (#2375) - Fix terminal color changing to black on Windows if
coloramais imported in aconftest.pyfile. (#2510) - Fix line number when reporting summary of skipped tests. (#2548)
- capture: ensure that EncodedFile.name is a string. (#2555)
- The options
`--fixturesand`--fixtures-per-testwill now keep indentation within docstrings. (#2574) - doctests line numbers are now reported correctly, fixing pytest-sugar#122. (#2610)
- Clarify
pytest_configurehook call order. (#2539) - Extend documentation for testing plugin code with the
pytesterplugin. (#971)
- Update help message for
--strictto make it clear it only deals with unregistered markers, not warnings. (#2444) - Renamed the utility function
_pytest.compat._escape_stringsto_ascii_escapedto better communicate the function's purpose. (#2533) - Improve error message for CollectError with skip/skipif. (#2546)
- Emit warning about
yieldtests being deprecated only once per generator. (#2562) - Ensure final collected line doesn't include artifacts of previous write. (#2571)
- Fixed all flake8 errors and warnings. (#2581)
- Added
fix-linttox environment to run automatic pep8 fixes on the code. (#2582) - Show multiple issue links in CHANGELOG entries. (#2620)