pythonPackages.worldengine: disable python2 tests
commitf6d41b4b1d1ffae5fbfd24853e3a9b331b95d9bd
authorJonathan Ringer <jonringer117@gmail.com>
dateTue 29 Oct 2019, 01:50 (7 years ago)
parent236bbbe
pkgs/development/python-modules/worldengine/default.nix+2
@@ -1,6 +1,7 @@
11{ stdenv
22, buildPythonPackage
33, pythonOlder
4+, isPy27
45, fetchFromGitHub
56, nose
67, noise
@@ -48,6 +49,7 @@ buildPythonPackage rec {
4849
4950 # with python<3.5, unittest fails to discover tests because of their filenames
5051 # so nose is used instead.
52+ doCheck = !isPy27; # google namespace clash
5153 checkInputs = stdenv.lib.optional (pythonOlder "3.5") [ nose ];
5254 postCheck = stdenv.lib.optionalString (pythonOlder "3.5") ''
5355 nosetests tests