mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +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
|
||||
, 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
|
||||
|
Loading…
Reference in New Issue
Block a user