Use setproctitle if available to show state (#696)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
David Lamparter
2021-09-03 17:58:01 +02:00
committed by GitHub
parent 305aeeacec
commit 766e67ce52
6 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
On Linux, the process title now changes to indicate the current worker state (running/idle).
Depends on the `setproctitle <https://pypi.org/project/setproctitle/>`__ package, which can be installed with ``pip install pytest-xdist[setproctitle]``.