mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
nose: run tests as noted in https://code.google.com/p/python-nose/issues/detail?id=387#c4
This commit is contained in:
parent
31ff9d9c68
commit
a0740092ce
@ -2981,11 +2981,12 @@ pythonPackages = modules // rec {
|
||||
|
||||
buildInputs = [ coverage ];
|
||||
|
||||
preCheck = ''
|
||||
# see https://github.com/nose-devs/nose/issues/627
|
||||
rm functional_tests/test_multiprocessing/test_concurrent_shared.py
|
||||
'';
|
||||
doCheck = ! stdenv.isDarwin;
|
||||
checkPhase = if python.is_py3k or false then ''
|
||||
${python}/bin/${python.executable} setup.py build_tests
|
||||
'' else "" + ''
|
||||
${python}/bin/${python.executable} selftest.py
|
||||
'';
|
||||
};
|
||||
|
||||
nose2 = if isPy26 then null else (buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user