diff --git a/pkgs/development/python-modules/path.py/default.nix b/pkgs/development/python-modules/path.py/default.nix index fc20624e3fa..a94d495310f 100644 --- a/pkgs/development/python-modules/path.py/default.nix +++ b/pkgs/development/python-modules/path.py/default.nix @@ -2,8 +2,8 @@ , buildPythonPackage , fetchPypi , setuptools_scm -, pytestrunner , pytest +, pytest-flake8 , glibcLocales , packaging , isPy27 @@ -14,14 +14,13 @@ buildPythonPackage rec { pname = "path.py"; version = "11.5.0"; - name = pname + "-" + version; src = fetchPypi { inherit pname version; sha256 = "b6687a532a735a2d79a13e92bdb31cb0971abe936ea0fa78bcb47faf4372b3cb"; }; - checkInputs = [ pytest pytestrunner glibcLocales packaging ]; + checkInputs = [ pytest pytest-flake8 glibcLocales packaging ]; buildInputs = [ setuptools_scm ]; propagatedBuildInputs = [ importlib-metadata @@ -37,9 +36,7 @@ buildPythonPackage rec { }; checkPhase = '' - # Ignore pytest configuration - rm pytest.ini # ignore performance test which may fail when the system is under load - py.test -v -k 'not TestPerformance' test_path.py + py.test -v -k 'not TestPerformance' ''; }