Skip to content

Commit 139a029

Browse files
committed
terminal: remove a redundant line
`write_fspath_result` already does this split.
1 parent 8d841ab commit 139a029

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/_pytest/terminal.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,7 @@ def pytest_runtest_logstart(self, nodeid, location):
443443
self.write_ensure_prefix(line, "")
444444
self.flush()
445445
elif self.showfspath:
446-
fsid = nodeid.split("::")[0]
447-
self.write_fspath_result(fsid, "")
446+
self.write_fspath_result(nodeid, "")
448447
self.flush()
449448

450449
def pytest_runtest_logreport(self, report: TestReport) -> None:

0 commit comments

Comments
 (0)