When the test item prints log, the print format looks strange #10247

This commit is contained in:
ice 2022-08-26 11:57:07 +08:00
parent 42776c0949
commit 252345d0e7
1 changed files with 1 additions and 1 deletions

View File

@ -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: