Skip to content

Commit

Permalink
scitkitlearn: disable doctests on darwin as they are known to be brok…
Browse files Browse the repository at this point in the history
…en there for this version.
  • Loading branch information
rbvermaa committed Jan 16, 2018
1 parent 75936c4 commit 60468bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/scikitlearn/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit 60468bf

Please sign in to comment.