diff --git a/setup.cfg b/setup.cfg index 8e2f7c8170..a60c24c793 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,7 @@ testpaths = graphviz tests addopts = - --doctest-modules + --doctest-modules --doctest-glob='*.rst' --ignore=docs/conf.py --doctest-continue-on-failure # pytest summary: all except (E)rror @@ -24,7 +24,6 @@ addopts = --durations=10 --cov --cov-report=term --cov-report=html --strict-config --strict-markers -mock_use_standalone_module = true log_cli = true log_cli_level = WARNING log_file = test-log.txt diff --git a/setup.py b/setup.py index 5951f4a01c..e972b4b604 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ extras_require={ 'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'], 'test': ['pytest>=7', - 'pytest-mock>=3', 'mock>=4', + 'pytest-mock>=3', 'pytest-cov', 'coverage'], 'docs': ['sphinx>=5,<7', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], },