diff --git a/pkgs/development/python-modules/pytestrunner/default.nix b/pkgs/development/python-modules/pytestrunner/default.nix index 71b1260a540..4d9b9b76157 100644 --- a/pkgs/development/python-modules/pytestrunner/default.nix +++ b/pkgs/development/python-modules/pytestrunner/default.nix @@ -11,6 +11,17 @@ buildPythonPackage rec { buildInputs = [ setuptools_scm pytest ]; + postPatch = '' + rm pytest.ini + ''; + + checkPhase = '' + py.test tests + ''; + + # Fixture not found + doCheck = false; + meta = with stdenv.lib; { description = "Invoke py.test as distutils command with dependency resolution"; homepage = https://bitbucket.org/pytest-dev/pytest-runner;