Skip to content

Commit bc6edfe

Browse files
logging: fix class name in StepLogger warning
The class name was not adjusted when the warning has been copied from StepLogger. Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 8af37ae commit bc6edfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

labgrid/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __attrs_post_init__(self):
136136
from warnings import warn
137137

138138
warn(
139-
"StepLogger should not be instantiated, use StepReporter.start()/.stop() instead.",
139+
"StepLogger should not be instantiated, use StepLogger.start()/.stop() instead.",
140140
DeprecationWarning,
141141
stacklevel=2,
142142
)

0 commit comments

Comments
 (0)