summaryrefslogtreecommitdiff
path: root/src/_pytest/pathlib.py
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-05-01 14:40:16 +0300
committerRan Benita <ran@unusedvar.com>2020-06-05 11:34:19 +0300
commite68a26199cb2bae0f001ab495232525f38227ad9 (patch)
tree5b947348ce125273d850a700309d7a68f83009f7 /src/_pytest/pathlib.py
parentd95132178c073debcb687075f0f986d7d0322e9d (diff)
downloadpytest-e68a26199cb2bae0f001ab495232525f38227ad9.tar.gz
Type annotate misc functions
Diffstat (limited to 'src/_pytest/pathlib.py')
-rw-r--r--src/_pytest/pathlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/pathlib.py b/src/_pytest/pathlib.py
index 90a7460b0..6878965e0 100644
--- a/src/_pytest/pathlib.py
+++ b/src/_pytest/pathlib.py
@@ -348,7 +348,7 @@ def make_numbered_dir_with_cleanup(
raise e
-def resolve_from_str(input, root):
+def resolve_from_str(input: str, root):
assert not isinstance(input, Path), "would break on py2"
root = Path(root)
input = expanduser(input)