3
0
Fork 0
forked from mirrors/nixpkgs

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