pythonPackages.pytest-shutil: Disable some tests on PyPy.

I looked at some of the failing tests and now I'm feeling rather queasy.
This commit is contained in:
Corbin 2019-02-11 19:36:36 -08:00 committed by Frederik Rietdijk
parent 1303661b1b
commit ca40026ac7

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, lib, isPyPy, buildPythonPackage, fetchPypi
, pytest_3, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
, contextlib2, termcolor }:
@ -16,7 +16,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ pytest_3 ];
checkPhase = ''
py.test
py.test ${lib.optionalString isPyPy "-k'not (test_run or test_run_integration)'"}
'';
meta = with stdenv.lib; {