python3Packages.pytest_xdist: disable tests
This commit is contained in:
parent
33f2b5cc6f
commit
f3a74b9c99
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue