summaryrefslogtreecommitdiffstats
path: root/test/lib/ansible_test/_internal/io.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-06-09 05:49:44 +0200
committerMatt Clay <matt@mystile.com>2022-06-09 08:31:58 +0200
commit2f0530396b0bdb025c94b354cde95604ff1fd349 (patch)
treeb2dc5e3ac0ef1f372d9987129df9d9323d6229c3 /test/lib/ansible_test/_internal/io.py
parentfacts: Add uptime fact for NetBSD (#75431) (diff)
downloadansible-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.py2
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))