diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pytest/default.nix b/pkgs/development/python-modules/pytest/default.nix index d8d22ced974e..b5a8cc252b97 100644 --- a/pkgs/development/python-modules/pytest/default.nix +++ b/pkgs/development/python-modules/pytest/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi, isPy26, argparse, attrs, hypothesis, py +{ stdenv, buildPythonPackage, fetchPypi, attrs, hypothesis, py , setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools , atomicwrites, mock }: @@ -19,8 +19,7 @@ buildPythonPackage rec { checkInputs = [ hypothesis mock ]; buildInputs = [ setuptools_scm ]; propagatedBuildInputs = [ attrs py setuptools six pluggy more-itertools atomicwrites] - ++ (stdenv.lib.optional (!isPy3k) funcsigs) - ++ (stdenv.lib.optional isPy26 argparse); + ++ (stdenv.lib.optional (!isPy3k) funcsigs); checkPhase = '' runHook preCheck |