Skip to content

Commit 68ace23

Browse files
committed
test: convert docs into type annotations in test_framework/test_node.py
1 parent 8bfcba3 commit 68ace23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/test_framework/test_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,14 +400,14 @@ def assert_debug_log(self, expected_msgs, unexpected_msgs=None, timeout=2):
400400
self._raise_assertion_error('Expected messages "{}" does not partially match log:\n\n{}\n\n'.format(str(expected_msgs), print_log))
401401

402402
@contextlib.contextmanager
403-
def profile_with_perf(self, profile_name):
403+
def profile_with_perf(self, profile_name: str):
404404
"""
405405
Context manager that allows easy profiling of node activity using `perf`.
406406
407407
See `test/functional/README.md` for details on perf usage.
408408
409409
Args:
410-
profile_name (str): This string will be appended to the
410+
profile_name: This string will be appended to the
411411
profile data filename generated by perf.
412412
"""
413413
subp = self._start_perf(profile_name)

0 commit comments

Comments
 (0)