pytest-pudb
pytest-pudb copied to clipboard
Fix `pytest.hookspec.pytest_enter_pdb` expects a `pdb` (keyword) argument
Pass down the current pudb instance, received via self._pudb_get_debugger
Fixes:
===================================== warnings summary ====================================== .../tests/test_sanity.py::test_sanity .../.venv/lib/python3.9/site-packages/pytest_pudb.py:55: UserWarning: Argument(s) ('pdb',) which are declared in the hookspec can not be found in this hook call -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Source: https://docs.pytest.org/en/latest/reference/reference.html#pytest.hookspec.pytest_enter_pdb
Signed-off-by: Stavros Ntentos [email protected]