lol

python3Package.patsy: migrate to pytest

+9 -5
+9 -5
pkgs/development/python-modules/patsy/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 3 , buildPythonPackage 4 - , nose 5 4 , six 6 5 , numpy 7 6 , scipy # optional, allows spline-related features (see patsy's docs) 8 - , parameterized 7 + , pytestCheckHook 9 8 }: 10 9 11 10 buildPythonPackage rec { ··· 17 16 sha256 = "5053de7804676aba62783dbb0f23a2b3d74e35e5bfa238b88b7cbf148a38b69d"; 18 17 }; 19 18 20 - checkInputs = [ nose parameterized ]; 21 - checkPhase = "nosetests -v"; 22 - 23 19 propagatedBuildInputs = [ 24 20 six 25 21 numpy 26 22 scipy 23 + ]; 24 + 25 + checkInputs = [ 26 + pytestCheckHook 27 + ]; 28 + 29 + pythonImportsCheck = [ 30 + "patsy" 27 31 ]; 28 32 29 33 meta = {