Skip to content

Commit ca8d184

Browse files
Bastian-KrauseEmantor
authored andcommitted
tests/conftest: fix log message in LabgridComponent.stop()
The class name was meant to be formated as an f-string, but the string was not marked accordingly. Fix this by using the lazy evaluation variant via %s. Fixes: 373874b ("tests/conftest: move common Exporter functionality into generic LabgridComponent") Signed-off-by: Bastian Krause <[email protected]>
1 parent 005b2b2 commit ca8d184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self, cwd):
5555
self.reader = None
5656

5757
def stop(self):
58-
logging.info("stopping {self.__class__.__name__} pid=%s", self.spawn.pid)
58+
logging.info("stopping %s pid=%s", self.__class__.__name__, self.spawn.pid)
5959

6060
# let coverage write its data:
6161
# https://coverage.readthedocs.io/en/latest/subprocess.html#process-termination

0 commit comments

Comments
 (0)