From 63c98ca6e4916610d7d98bd153bba8e2c90e6483 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 22 Mar 2023 10:28:14 -0400 Subject: [PATCH] Fix: invalid syntax with python 3.5 in test_ust.py MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/regression/tools/context/test_ust.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1