diff --git a/src/_pytest/terminal.py b/src/_pytest/terminal.py index 9739a467a..b7fde6469 100644 --- a/src/_pytest/terminal.py +++ b/src/_pytest/terminal.py @@ -397,7 +397,7 @@ class TerminalReporter: self.currentfspath = fspath relfspath = bestrelpath(self.startpath, fspath) self._tw.line() - self._tw.write(relfspath + " ") + self._tw.write(relfspath + "\n") self._tw.write(res, flush=True, **markup) def write_ensure_prefix(self, prefix: str, extra: str = "", **kwargs) -> None: