Tests: ust_constructor: convert left-over type hint to type comment
[lttng-tools.git] / tests / regression / ust / ust-constructor / test_ust_constructor.py
index 5e6523c765bb5cc3a31bc15ae04fea5c591f0b5a..1682071e2fcbbe82d6d0c3ecf2dccd0e694a4732 100755 (executable)
@@ -163,9 +163,8 @@ expected_events = [
 ]
 
 
-def capture_trace(
-    tap: lttngtest.TapGenerator, test_env: lttngtest._Environment
-) -> lttngtest.LocalSessionOutputLocation:
+def capture_trace(tap, test_env):
+    # type: (lttngtest.TapGenerator, lttngtest._Environment) -> lttngtest.LocalSessionOutputLocation
     tap.diagnostic(
         "Capture trace from application with instrumented C/C++ constructors/destructors"
     )
@@ -174,7 +173,7 @@ def capture_trace(
         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)
@@ -197,7 +196,8 @@ def capture_trace(
     return session_output_location
 
 
-def validate_trace(trace_location: pathlib.Path, tap: lttngtest.TapGenerator) -> bool:
+def validate_trace(trace_location, tap) -> bool:
+    # type: (pathlib.Path, lttngtest.TapGenerator) -> bool
     success = True
     unknown_event_count = 0
 
This page took 0.025258 seconds and 4 git commands to generate.