sphinx-automodapi: fix tests

This commit is contained in:
Madoura 2022-12-18 02:02:35 -06:00
parent dc7ebb0163
commit 61ac420020
No known key found for this signature in database
GPG key ID: 3201136B3DB072F9
2 changed files with 6 additions and 1 deletions

View file

@ -36,6 +36,9 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace "sphinx_automodapi/tests/helpers.py" \
--replace '[0]), None)' "[0]), (None, '${testInventory}'))"
substituteInPlace "sphinx_automodapi/tests/test_cases.py" \
--replace '[0]), None)' "[0]), (None, '${testInventory}'))"
'';
checkInputs = [

View file

@ -10571,7 +10571,9 @@ self: super: with self; {
spinners = callPackage ../development/python-modules/spinners { };
sphinx-automodapi = callPackage ../development/python-modules/sphinx-automodapi { };
sphinx-automodapi = callPackage ../development/python-modules/sphinx-automodapi {
graphviz = pkgs.graphviz;
};
sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { };