pythonPackages.cython: don't test codestyle (#50432)

This requires pycodestyle when using python3 and adding it leads to test
failures for some reason. Maybe some patching we do. There is no reason to
test codestyle for a distro, so just disable it.
This commit is contained in:
Timo Kaufmann 2018-11-16 09:21:06 +01:00 committed by Frederik Rietdijk
parent 63c6875f26
commit 3aa6b8ccc5

View File

@ -45,6 +45,7 @@ in buildPythonPackage rec {
checkPhase = ''
export HOME="$NIX_BUILD_TOP"
${python.interpreter} runtests.py -j$NIX_BUILD_CORES \
--no-code-style \
${stdenv.lib.optionalString (builtins.length excludedTests != 0)
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
'';