scitkitlearn: disable doctests on darwin as they are known to be broken there for this version.

This commit is contained in:
Rob Vermaas 2018-01-16 21:31:51 +01:00
parent 75936c412d
commit 60468bf4e5
No known key found for this signature in database
GPG Key ID: 6B726FB2EE6F4255

View File

@ -20,8 +20,9 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8";
# Disable doctests on OSX: https://github.com/scikit-learn/scikit-learn/issues/10213
checkPhase = ''
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests ${stdenv.lib.optionalString stdenv.isDarwin "--doctest-options=+SKIP"} $out/${python.sitePackages}/sklearn/
'';
meta = with stdenv.lib; {