python311Packages.jedi: disable some tests

This commit is contained in:
Theodore Ni 2022-12-25 16:10:47 -05:00 committed by Martin Weinelt
parent 57eb9f0681
commit 04af8bfa8a

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, buildPythonPackage
, pythonAtLeast
, pythonOlder
, fetchFromGitHub
, attrs
@ -37,14 +38,17 @@ buildPythonPackage rec {
'';
disabledTests = [
# Assertions mismatches with pytest>=6.0
"test_completion"
# sensitive to platform, causes false negatives on darwin
"test_import"
] ++ lib.optionals (stdenv.isAarch64 && pythonOlder "3.9") [
# AssertionError: assert 'foo' in ['setup']
"test_init_extension_module"
] ++ lib.optionals (pythonAtLeast "3.11") [
# disabled until 3.11 is added to _SUPPORTED_PYTHONS in jedi/api/environment.py
"test_find_system_environments"
# disabled until https://github.com/davidhalter/jedi/issues/1858 is resolved
"test_interpreter"
];
meta = with lib; {