python3Packages.astor: disabled failing test

and prune the list of tests from working ones.
This commit is contained in:
Martin Weinelt 2022-09-15 15:57:33 +02:00 committed by Vladimír Čunát
parent d9522aa4c5
commit 6a851472f2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,8 +1,13 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook }:
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "astor";
version = "0.8.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
@ -10,14 +15,15 @@ buildPythonPackage rec {
};
# disable tests broken with python3.6: https://github.com/berkerpeksag/astor/issues/89
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
disabledTests = [
"check_expressions"
"check_astunparse"
"convert_stdlib"
"codegen_as_submodule"
"positional_only_arguments"
"codegen_from_root"
# https://github.com/berkerpeksag/astor/issues/196
"test_convert_stdlib"
# https://github.com/berkerpeksag/astor/issues/212
"test_huge_int"
];
meta = with lib; {