Tests: convert even more left-over type hint to type comment
[lttng-tools.git] / tests / utils / lttngtest / environment.py
index 0efb2b5f526ea5edba9ea5199e87772645d3db4d..42b0a61b9b35930d9474fa529390e9181382ff6f 100644 (file)
@@ -189,7 +189,8 @@ class WaitTraceTestApplication:
 
 class TraceTestApplication:
     """
-    Create an application to trace.
+    Create an application that emits events as soon as it is launched. In most
+    scenarios, it is preferable to use a WaitTraceTestApplication.
     """
 
     def __init__(self, binary_path, environment):
@@ -205,9 +206,9 @@ class TraceTestApplication:
 
         test_app_args = [str(binary_path)]
 
-        self._process: subprocess.Popen = subprocess.Popen(
+        self._process = subprocess.Popen(
             test_app_args, env=test_app_env
-        )
+        )  # type: subprocess.Popen
 
     def wait_for_exit(self):
         # type: () -> None
This page took 0.02415 seconds and 4 git commands to generate.