Skip to content

Conversation

@hp310780
Copy link
Contributor

Closes #8990

  • Correct input arg type passed to _pytest.pathlib.bestrelpath (expects a Path object).
  • Associated test.
  • Type annotations added.

hp310780 and others added 3 commits October 27, 2021 19:19
Add type annotation

Co-authored-by: Ran Benita <[email protected]>
Change variable to Path object in place

Co-authored-by: Ran Benita <[email protected]>
Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hp310780, this is good now.

As mentioned in the comment, we should remove the new test now, because with the asserts the problem is triggered by existing tests, so we don't need the new one. I will push this change myself, and merge.

@bluetech bluetech merged commit 9d17ceb into pytest-dev:main Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

str/Path mixup in TerminalReporter

2 participants