Skip to content

Commit

Permalink
pythonPackages.worldengine: disable python2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Oct 30, 2019
1 parent 236bbbe commit f6d41b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/worldengine/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, pythonOlder
, isPy27
, fetchFromGitHub
, nose
, noise
Expand Down Expand Up @@ -48,6 +49,7 @@ buildPythonPackage rec {

# with python<3.5, unittest fails to discover tests because of their filenames
# so nose is used instead.
doCheck = !isPy27; # google namespace clash
checkInputs = stdenv.lib.optional (pythonOlder "3.5") [ nose ];
postCheck = stdenv.lib.optionalString (pythonOlder "3.5") ''
nosetests tests
Expand Down

0 comments on commit f6d41b4

Please sign in to comment.