terminal: remove a redundant line

`write_fspath_result` already does this split.
This commit is contained in:
Ran Benita 2020-05-19 21:34:06 +03:00
parent 8d841ab0b8
commit 139a029b5e
1 changed files with 1 additions and 2 deletions

View File

@ -443,8 +443,7 @@ class TerminalReporter:
self.write_ensure_prefix(line, "")
self.flush()
elif self.showfspath:
fsid = nodeid.split("::")[0]
self.write_fspath_result(fsid, "")
self.write_fspath_result(nodeid, "")
self.flush()
def pytest_runtest_logreport(self, report: TestReport) -> None: