From: Michael Jeanson Date: Wed, 22 Mar 2023 14:28:14 +0000 (-0400) Subject: Fix: invalid syntax with python 3.5 in test_ust.py X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=63c98ca6e4916610d7d98bd153bba8e2c90e6483;p=lttng-tools.git Fix: invalid syntax with python 3.5 in test_ust.py The following error was encountered while running the test suite with python 3.5 : File "./tools/context/test_ust.py", line 99 client: lttngtest.Controller = lttngtest.LTTngClient(test_env, log=tap.diagnostic) ^ SyntaxError: invalid syntax Remove the type hint. Change-Id: I2d8c39d092b8a1659208b89aaca1cf11ca53866a Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/context/test_ust.py b/tests/regression/tools/context/test_ust.py index d3215f0f4..ab2e743e3 100755 --- a/tests/regression/tools/context/test_ust.py +++ b/tests/regression/tools/context/test_ust.py @@ -96,7 +96,7 @@ def test_static_context( test_env.create_temporary_directory("trace") ) - client: lttngtest.Controller = lttngtest.LTTngClient(test_env, log=tap.diagnostic) + client = lttngtest.LTTngClient(test_env, log=tap.diagnostic) with tap.case("Create a session") as test_case: session = client.create_session(output=session_output_location)