6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-02-02 02:40:42 +01:00

Add milliseconds to the start time info.

This commit is contained in:
Anton Zuev 2023-05-22 09:12:59 +03:00
parent a527bd0a05
commit 2065fee8b9

View File

@ -292,7 +292,7 @@ class QATerminalReporter(TerminalReporter):
self.flush()
def write_ensure_prefix(self, prefix: str, extra: str = "", **kwargs) -> None:
start_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
start_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[:-3]
if self.currentfspath != prefix:
self._tw.line()
self.currentfspath = prefix