From 47ddc6e5668497fc0cb863888559fcf0ae2bdbfa Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 2 May 2023 10:28:54 -0400 Subject: [PATCH] Tests: convert even more left-over type hint to type comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/utils/lttngtest/environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1