Tests: ust_constructor: convert left-over type hint to type comment
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 May 2023 17:45:27 +0000 (13:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 1 May 2023 17:47:03 +0000 (13:47 -0400)
commitaae4cdd13963d9bd3caf9d2ae27ff6b6ad4c2b92
tree8ecbc64f6c6260fcc1b9600fbfcef6bde98dc293
parentd2455527078ecb1963372d67323a32e9be02cda2
Tests: ust_constructor: convert 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).

Python 3.4 reports the following error:
  File "./ust/ust-constructor/test_ust_constructor.py", line 176
    client: lttngtest.Controller = lttngtest.LTTngClient(test_env, log=tap.diagnostic)
          ^
  SyntaxError: invalid syntax
  ERROR: ust/ust-constructor/test_ust_constructor.py - missing test plan
  ERROR: ust/ust-constructor/test_ust_constructor.py - exited with status 1

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic0ead4b9bedfca56e8999bf4012e103801794655
tests/regression/ust/ust-constructor/test_ust_constructor.py
This page took 0.024363 seconds and 4 git commands to generate.