mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
python311Packages.jedi: disable some tests
This commit is contained in:
parent
57eb9f0681
commit
04af8bfa8a
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user