From: Michael Jeanson Date: Tue, 2 May 2023 14:28:54 +0000 (-0400) Subject: Tests: convert even more left-over type hint to type comment X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=47ddc6e5668497fc0cb863888559fcf0ae2bdbfa;p=lttng-tools.git Tests: convert even more left-over type hint to type comment Use type comments to support older python3 interpreters that can't handle type hints (such as 3.4). Change-Id: I4f97bc3f1e18b8701cb04175d97deb295178883b Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/lttngtest/environment.py b/tests/utils/lttngtest/environment.py index 6567467eb..42b0a61b9 100644 --- a/tests/utils/lttngtest/environment.py +++ b/tests/utils/lttngtest/environment.py @@ -206,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