pythonPackages.worldengine: disable python2 tests
This commit is contained in:
parent
236bbbeb5d
commit
f6d41b4b1d
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, isPy27
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, nose
|
, nose
|
||||||
, noise
|
, noise
|
||||||
@ -48,6 +49,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
# with python<3.5, unittest fails to discover tests because of their filenames
|
# with python<3.5, unittest fails to discover tests because of their filenames
|
||||||
# so nose is used instead.
|
# so nose is used instead.
|
||||||
|
doCheck = !isPy27; # google namespace clash
|
||||||
checkInputs = stdenv.lib.optional (pythonOlder "3.5") [ nose ];
|
checkInputs = stdenv.lib.optional (pythonOlder "3.5") [ nose ];
|
||||||
postCheck = stdenv.lib.optionalString (pythonOlder "3.5") ''
|
postCheck = stdenv.lib.optionalString (pythonOlder "3.5") ''
|
||||||
nosetests tests
|
nosetests tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user