-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Just tried running poliastro test suite with pytest 7.0.0rc1 and found this error:
py38-fast run-test: commands[1] | pytest -m 'not slow and not mpl_image_compare' --mypy -vv
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.8.10, pytest-7.0.0rc1, pluggy-1.0.0 -- /home/juanlu/Projects/LSF/poliastro/library/.tox/py38-fast/bin/python
cachedir: .tox/py38-fast/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/juanlu/Projects/LSF/poliastro/library/.hypothesis/examples')
Matplotlib: 3.5.0
Freetype: 2.6.1
rootdir: /home/juanlu/Projects/LSF/poliastro/library, configfile: setup.cfg, testpaths: src, tests
plugins: hypothesis-6.30.1, remotedata-0.3.2, mypy-0.8.1, doctestplus-0.11.1, mpl-0.13, cov-2.5.1
collected 1172 items / 1 error / 33 deselected / 1138 selected
=================================================================================================================== ERRORS ===================================================================================================================
_____________________________________________________________________________________________________ ERROR collecting tests/conftest.py _____________________________________________________________________________________________________
.tox/py38-fast/lib/python3.8/site-packages/pytest_doctestplus/plugin.py:210: in collect
module = self.config.pluginmanager._importconftest(
E TypeError: _importconftest() missing 1 required positional argument: 'rootpath'
It doesn't happen with pytest 6.2.5.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels