python3Packages.pytest_xdist: disable tests

This commit is contained in:
Frederik Rietdijk 2019-08-18 09:19:08 +02:00
parent 33f2b5cc6f
commit f3a74b9c99

View File

@ -1,4 +1,5 @@
{ stdenv, fetchPypi, buildPythonPackage, execnet, pytest, setuptools_scm, pytest-forked, filelock, six }:
{ stdenv, fetchPypi, buildPythonPackage, execnet, pytest
, setuptools_scm, pytest-forked, filelock, six, isPy3k }:
buildPythonPackage rec {
pname = "pytest-xdist";
@ -13,6 +14,10 @@ buildPythonPackage rec {
checkInputs = [ pytest filelock ];
propagatedBuildInputs = [ execnet pytest-forked six ];
# Encountered a memory leak
# https://github.com/pytest-dev/pytest-xdist/issues/462
doCheck = !isPy3k;
checkPhase = ''
# Excluded tests access file system
py.test testing -k "not test_distribution_rsyncdirs_example \