Merge branch 'nuclearsandwich/resolve-d401' into 'master'

Use imperative mood in constructor docstring.

See merge request micro-ROS/ros_tracing/ros2_tracing!118
This commit is contained in:
Christophe Bedard 2019-12-09 20:44:15 +00:00
commit df2e47b875
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class Trace(Action):
**kwargs, **kwargs,
) -> None: ) -> None:
""" """
Constructor. Create a Trace.
:param session_name: the name of the tracing session :param session_name: the name of the tracing session
:param append_timestamp: whether to append timestamp to the session name :param append_timestamp: whether to append timestamp to the session name

View file

@ -51,7 +51,7 @@ class TraceTestCase(unittest.TestCase):
events_kernel: List[str] = None, events_kernel: List[str] = None,
package: str = 'tracetools_test', package: str = 'tracetools_test',
) -> None: ) -> None:
"""Constructor.""" """Create a TraceTestCase."""
super().__init__(methodName=args[0]) super().__init__(methodName=args[0])
self._base_path = base_path self._base_path = base_path
self._session_name_prefix = session_name_prefix self._session_name_prefix = session_name_prefix