Galen Seilis
10/01/2024, 11:28 PMpytest
on a dummy project:
PytestDeprecationWarning: The hookimpl CovPlugin.pytest_configure_node uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(optionalhook=True) decorator instead
to configure the hooks.
See <https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers>
def pytest_configure_node(self, node):
..\venv\lib\site-packages\pytest_cov\plugin.py:265
\venv\lib\site-packages\pytest_cov\plugin.py:265: PytestDeprecationWarning: The hookimpl CovPlugin.pytest_testnodedown uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(optionalhook=True) decorator instead
to configure the hooks.
See <https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers>
def pytest_testnodedown(self, node, error):
-- Docs: <https://docs.pytest.org/en/stable/how-to/capture-warnings.html>
Is this something I should do anything about, or will it be addressed in a future version of Kedro?datajoely
10/02/2024, 8:20 AMNok Lam Chan
10/02/2024, 9:26 AMpip install pytest-cov --upgrade
should make this disappearNok Lam Chan
10/02/2024, 9:26 AMpytest-cov
, not kedrodatajoely
10/02/2024, 9:27 AMdatajoely
10/02/2024, 9:27 AMGalen Seilis
10/02/2024, 1:05 PM