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

This commit is contained in:
Daniel Hahler
2020-01-17 10:57:14 +01:00
parent 2cce026766
commit 4a42deee7e
3 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ class BaseReport:
skipped = property(lambda x: x.outcome == "skipped")
@property
def fspath(self):
def fspath(self) -> str:
return self.nodeid.split("::")[0]
@property