forked from https://bitbucket.org/hpk42/pytest-xdist