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):
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