Setup
pip install pytest==5.0.1 eventlet
See error
pytest --help | cat
No error without faulthandler
pytest --no-faulthandler --help | cat
No error before pytest 5
pip install 'pytest<=5'
pytest --help | cat
Git bisect located this commit as the cause: