Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typing: Node.reportinfo: might return py.path.local via fspath #6488

Merged
merged 1 commit into from
Jan 17, 2020

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Jan 17, 2020

No description provided.

@@ -424,7 +424,7 @@ def module(self):
return self._pyfuncitem.getparent(_pytest.python.Module).obj

@scopeproperty()
def fspath(self):
def fspath(self) -> py.path.local:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that mypy-diff (#6486) would complain here for this to be missing still (since mypy does not know about py.path.local).

@blueyed blueyed merged commit e211d6f into pytest-dev:master Jan 17, 2020
@blueyed blueyed deleted the typing-fix-reportinfo branch January 17, 2020 10:52
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.

None yet

2 participants