mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 18:17:21 +03:00
pytest: disable tests on pypy
Bug in tests. See https://github.com/pytest-dev/pytest/issues/3460
This commit is contained in:
parent
25a77b7210
commit
b9ea613f43
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
{ stdenv, buildPythonPackage, pythonOlder, fetchPypi, attrs, hypothesis, py
|
||||||
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
|
||||||
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging
|
, atomicwrites, mock, writeText, pathlib2, wcwidth, packaging, isPyPy
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.6.3";
|
version = "4.6.3";
|
||||||
@ -22,6 +22,7 @@ buildPythonPackage rec {
|
|||||||
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
++ stdenv.lib.optionals (!isPy3k) [ funcsigs ]
|
||||||
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
++ stdenv.lib.optionals (pythonOlder "3.6") [ pathlib2 ];
|
||||||
|
|
||||||
|
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
$out/bin/py.test -x testing/ -k "not test_collect_pyargs_with_testpaths"
|
$out/bin/py.test -x testing/ -k "not test_collect_pyargs_with_testpaths"
|
||||||
|
Loading…
Reference in New Issue
Block a user