From ca40026ac7299ca63ebb6e31ef44cd058888ed12 Mon Sep 17 00:00:00 2001 From: Corbin Date: Mon, 11 Feb 2019 19:36:36 -0800 Subject: [PATCH] pythonPackages.pytest-shutil: Disable some tests on PyPy. I looked at some of the failing tests and now I'm feeling rather queasy. --- pkgs/development/python-modules/pytest-shutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-shutil/default.nix b/pkgs/development/python-modules/pytest-shutil/default.nix index fedf5010b2b..c5444708be8 100644 --- a/pkgs/development/python-modules/pytest-shutil/default.nix +++ b/pkgs/development/python-modules/pytest-shutil/default.nix @@ -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; {