You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-dask-sphinx-theme-2.0.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-dask-sphinx-theme-2.0.3-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra --black=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/dask-sphinx-theme-2.0.3plugins: cov-3.0.0, black-0.3.12collected 4 itemssetup.py . [ 25%]dask_sphinx_theme/__init__.py . [ 50%]dask_sphinx_theme/ext/dask_config_sphinx_ext.py . [ 75%]docs/conf.py . [100%]============================================================================= warnings summary =============================================================================../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:146../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:146../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:146../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:146 /usr/lib/python3.8/site-packages/_pytest/nodes.py:146: PytestDeprecationWarning: <class 'pytest_black.BlackItem'> is not using a cooperative constructor and only takes {'fspath', 'parent'}. See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs for more details. warnings.warn(../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:264../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:264../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:264../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:264 /usr/lib/python3.8/site-packages/_pytest/nodes.py:264: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to BlackItem is deprecated. Please use the (path: pathlib.Path) argument instead. See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path return cls._create(parent=parent, **kw)../../../../../usr/lib/python3.8/site-packages/_pytest/nodes.py:708 /usr/lib/python3.8/site-packages/_pytest/nodes.py:708: PytestWarning: BlackItem is an Item subclass and should not be a collector, however its bases File are collectors. Please split the Collectors and the Item into separate node types. Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html example pull request on a plugin: https://github.com/asmeurer/pytest-flakes/pull/40/ warnings.warn(-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html====================================================================== 4 passed, 9 warnings in 0.95s =======================================================================
The text was updated successfully, but these errors were encountered:
Looks like
black
shows some warnings onpytets
code when I'm testingdask-sphinx-theme
module (https://github.com/dask/dask-sphinx-theme/)The text was updated successfully, but these errors were encountered: