From: Michael Jeanson Date: Mon, 27 Mar 2023 19:25:23 +0000 (-0400) Subject: Tests: python: use quoted annotations to support python <= 3.6 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=ce8470c9d039c563167d4fd061803e9eacf69ec3;hp=ce8470c9d039c563167d4fd061803e9eacf69ec3;p=lttng-tools.git Tests: python: use quoted annotations to support python <= 3.6 Python 3.0 introduced syntax for parameter and return type annotations, as specified in PEP 484. Python 3.6 introduced support for variable type annotations, as specified in PEP 526. Upstream recommends using quoted annotations for librairies that need to support older python versions. See https://typing.readthedocs.io/en/latest/source/libraries.html#compatibility-with-older-python-versions Change-Id: Ifc6017a7baa9f0589e85d32005ac9ead18c1c9fb Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau ---