Skip to content

Commit

Permalink
Fix: invalid syntax with python 3.5 in test_ust.py
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jérémie Galarneau <[email protected]>
  • Loading branch information
mjeanson authored and jgalar committed Mar 23, 2023
1 parent 5e3b23b commit 63c98ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regression/tools/context/test_ust.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 63c98ca

Please sign in to comment.