diff options
author | Matt Clay <matt@mystile.com> | 2022-06-09 05:49:44 +0200 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2022-06-09 08:31:58 +0200 |
commit | 2f0530396b0bdb025c94b354cde95604ff1fd349 (patch) | |
tree | b2dc5e3ac0ef1f372d9987129df9d9323d6229c3 /test/lib/ansible_test/_internal/io.py | |
parent | facts: Add uptime fact for NetBSD (#75431) (diff) | |
download | ansible-2f0530396b0bdb025c94b354cde95604ff1fd349.tar.xz ansible-2f0530396b0bdb025c94b354cde95604ff1fd349.zip |
ansible-test - Clean up type hints and comments.
Diffstat (limited to 'test/lib/ansible_test/_internal/io.py')
-rw-r--r-- | test/lib/ansible_test/_internal/io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/io.py b/test/lib/ansible_test/_internal/io.py index df8c98d498..e2ef7a50f8 100644 --- a/test/lib/ansible_test/_internal/io.py +++ b/test/lib/ansible_test/_internal/io.py @@ -19,7 +19,7 @@ def read_json_file(path): # type: (str) -> t.Any return json.loads(read_text_file(path)) -def read_text_file(path): # type: (str) -> t.Text +def read_text_file(path): # type: (str) -> str """Return the contents of the specified path as text.""" return to_text(read_binary_file(path)) |