============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-numpydoc/src/numpydoc-1.1.0, configfile: setup.cfg plugins: cov-2.12.1 collected 181 items / 1 error / 180 selected ==================================== ERRORS ==================================== _______________________ ERROR collecting doc/example.py ________________________ doc/example.py:30: in import matplotlib as mpl E ModuleNotFoundError: No module named 'matplotlib' __builtins__ = __cached__ = '/build/python-numpydoc/src/numpydoc-1.1.0/doc/__pycache__/example.cpython-310.pyc' __doc__ = 'Docstring for the example.py module.\n\nModules names should have short, all-lowercase names. The module name may\nh...ltiple lines, the closing three quotation marks must be on\na line by itself, preferably preceded by a blank line.\n\n' __file__ = '/build/python-numpydoc/src/numpydoc-1.1.0/doc/example.py' __loader__ = <_frozen_importlib_external.SourceFileLoader object at 0x4003574880> __name__ = 'example' __package__ = '' __spec__ = ModuleSpec(name='example', loader=<_frozen_importlib_external.SourceFileLoader object at 0x4003574880>, origin='/build/python-numpydoc/src/numpydoc-1.1.0/doc/example.py') absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144) division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 131072) np = os = print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576) =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/coverage/inorout.py:469 /usr/lib/python3.10/site-packages/coverage/inorout.py:469: CoverageWarning: --include is ignored because --source is set (include-ignored) self.warn("--include is ignored because --source is set", slug="include-ignored") ../../../../usr/lib/python3.10/site-packages/packaging/version.py:111: 328 warnings /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( numpydoc/tests/test_full.py:1 /build/python-numpydoc/src/numpydoc-1.1.0/numpydoc/tests/test_full.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion -- Docs: https://docs.pytest.org/en/stable/warnings.html - generated xml file: /build/python-numpydoc/src/numpydoc-1.1.0/junit-results.xml - =========================== short test summary info ============================ ERROR doc/example.py - ModuleNotFoundError: No module named 'matplotlib' !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ======================== 330 warnings, 1 error in 7.96s ======================== ==> ERROR: A failure occurred in check().  Aborting...