python39Packages.shtab: fix tests (#156458)

This commit is contained in:
Michael Adler 2022-02-01 13:33:11 +01:00 committed by GitHub
parent aa9ccee767
commit c86e65ddee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, setuptools-scm , setuptools-scm
, bashInteractive
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -28,6 +29,7 @@ buildPythonPackage rec {
]; ];
checkInputs = [ checkInputs = [
bashInteractive
pytest-timeout pytest-timeout
pytestCheckHook pytestCheckHook
]; ];
@ -37,11 +39,6 @@ buildPythonPackage rec {
--replace " --cov=shtab --cov-report=term-missing --cov-report=xml" "" --replace " --cov=shtab --cov-report=term-missing --cov-report=xml" ""
''; '';
disabledTests = [
# bash tests are failing
"bash"
];
pythonImportsCheck = [ pythonImportsCheck = [
"shtab" "shtab"
]; ];