diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-03-31 22:33:54 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-04-15 01:39:46 +0200 |
commit | 9d9c57830f22c1f825fce674ed6bbdfbad3ca84e (patch) | |
tree | adef14422e86fdffd2b6c41125174daf795e2943 /pkgs/development/python-modules/astroid | |
parent | 2bd4ecc64bb7f489cf10d84eb94162febe94623d (diff) | |
download | nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar.gz nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar.bz2 nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar.lz nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar.xz nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.tar.zst nixpkgs-9d9c57830f22c1f825fce674ed6bbdfbad3ca84e.zip |
python3Packages.astroid: disable test_mro_typing_extensions on python310
Diffstat (limited to 'pkgs/development/python-modules/astroid')
-rw-r--r-- | pkgs/development/python-modules/astroid/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astroid/default.nix b/pkgs/development/python-modules/astroid/default.nix index c07f7e47a46..539787403c6 100644 --- a/pkgs/development/python-modules/astroid/default.nix +++ b/pkgs/development/python-modules/astroid/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonAtLeast , pythonOlder , isPyPy , lazy-object-proxy @@ -45,6 +46,9 @@ buildPythonPackage rec { disabledTests = [ # assert (1, 1) == (1, 16) "test_end_lineno_string" + ] ++ lib.optionals (pythonAtLeast "3.10") [ + # AssertionError: Lists differ: ['ABC[16 chars]yBase', 'Final', 'Generic', 'MyProtocol', 'Protocol', 'object'] != ['ABC[16 chars]yBase', 'Final', 'Generic', 'MyProtocol', 'object'] + "test_mro_typing_extensions" ]; passthru.tests = { |