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 GitHub
parent 471f1be718
commit d53c0a71ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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})"''}
'';