pytest2/src
Ran Benita aac5d5d08b faulthandler: avoid accessing sys.stderr.encoding
Fixes a pytest-xdist regression after
762bb61562 (not yet released).

pytest-xdist patches sys.stderr with an object which doesn't have
`encoding`. Strictly speaking, this should be fixed there (or more
precisely, in execnet), but it will drop support for older versions
which don't want.

But in any case, the fix turns out to simplify the code, using FD
support added in Python 3.5, so it's good anyway!

Refs: https://github.com/pytest-dev/pytest-xdist/pull/900
2023-05-10 09:59:57 +03:00
..
_pytest faulthandler: avoid accessing sys.stderr.encoding 2023-05-10 09:59:57 +03:00
pytest Export `pytest.DoctestItem` for typing / runtime purposes (#10313) 2022-10-07 13:03:42 -03:00
py.py [pre-commit.ci] auto fixes from pre-commit.com hooks 2022-10-19 16:52:26 -04:00