Skip to content

Commit e773da7

Browse files
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 <bst@pengutronix.de> (cherry picked from commit ca8d184)
1 parent a04d4d1 commit e773da7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)