diff --git a/changelog/8990.bugfix.rst b/changelog/8990.bugfix.rst index 12c93f2c6..ab63eb9a7 100644 --- a/changelog/8990.bugfix.rst +++ b/changelog/8990.bugfix.rst @@ -1 +1 @@ -TerminalReporter's ``_locationline()`` will now pass the correct type of input arg to ``_pytest.pathlib.bestrelpath``. Previously it was passing in ``str`` which raised an exception. +Fix `pytest -vv` crashing with an internal exception `AttributeError: 'str' object has no attribute 'relative_to'` in some cases.