pythonPackages.graphviz: fix tests

+9 -2
+9 -2
pkgs/development/python-modules/graphviz/default.nix
··· 8 , mock 9 , pytestCheckHook 10 , pytest-mock 11 - , pytestcov 12 }: 13 14 buildPythonPackage rec { ··· 30 }) 31 ]; 32 33 # Fontconfig error: Cannot load default config file 34 FONTCONFIG_FILE = makeFontsConf { 35 fontDirectories = [ freefont_ttf ]; 36 }; 37 38 - checkInputs = [ mock pytestCheckHook pytest-mock pytestcov ]; 39 40 meta = with lib; { 41 description = "Simple Python interface for Graphviz";
··· 8 , mock 9 , pytestCheckHook 10 , pytest-mock 11 }: 12 13 buildPythonPackage rec { ··· 29 }) 30 ]; 31 32 + postPatch = '' 33 + sed -i "/--cov/d" setup.cfg 34 + ''; 35 + 36 # Fontconfig error: Cannot load default config file 37 FONTCONFIG_FILE = makeFontsConf { 38 fontDirectories = [ freefont_ttf ]; 39 }; 40 41 + checkInputs = [ mock pytestCheckHook pytest-mock ]; 42 + 43 + preCheck = '' 44 + export HOME=$TMPDIR 45 + ''; 46 47 meta = with lib; { 48 description = "Simple Python interface for Graphviz";