mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00
Merge pull request #241159 from SuperSandro2000/nose3-disable-more-tests
python311Packages.nose3: disable tests also on python 3.11
This commit is contained in:
commit
a7827b6bb0
@ -3,6 +3,7 @@
|
|||||||
, coverage
|
, coverage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPyPy
|
, isPyPy
|
||||||
|
, isPy311
|
||||||
, python
|
, python
|
||||||
, stdenv
|
, stdenv
|
||||||
}:
|
}:
|
||||||
@ -19,8 +20,8 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [ coverage ];
|
propagatedBuildInputs = [ coverage ];
|
||||||
|
|
||||||
# PyPy hangs for unknwon reason
|
# PyPy hangs for unknwon reason
|
||||||
# darwin fails an assertion and I didn't find a way to find skip that test
|
# Darwin and python 3.11 fail at various assertions and I didn't find an easy way to find skip those tests
|
||||||
doCheck = !isPyPy && !stdenv.isDarwin;
|
doCheck = !isPyPy && !stdenv.isDarwin && !isPy311;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.pythonForBuild.interpreter} selftest.py
|
${python.pythonForBuild.interpreter} selftest.py
|
||||||
|
Loading…
Reference in New Issue
Block a user