Merge pull request #241159 from SuperSandro2000/nose3-disable-more-tests

python311Packages.nose3: disable tests also on python 3.11
This commit is contained in:
Sandro 2023-07-09 23:28:48 +02:00 committed by GitHub
commit a7827b6bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, coverage
, fetchPypi
, isPyPy
, isPy311
, python
, stdenv
}:
@ -19,8 +20,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ coverage ];
# PyPy hangs for unknwon reason
# darwin fails an assertion and I didn't find a way to find skip that test
doCheck = !isPyPy && !stdenv.isDarwin;
# 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 && !isPy311;
checkPhase = ''
${python.pythonForBuild.interpreter} selftest.py