Update changelog/8990.bugfix.rst

Co-authored-by: Ran Benita <ran@unusedvar.com>
This commit is contained in:
Harshna 2021-10-27 19:19:25 +01:00 committed by GitHub
parent b77a40ad44
commit 028c7c9edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.