summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-12-31 08:23:51 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-12-31 08:34:59 -0500
commit77cdb9f15cd161e25da6f47ceaa8deb516c353af (patch)
treed60ab04f46899d84655950b37070883c17506473 /tests/helpers.py
parent7366feb46f25d07c60d1fcaa941f8d0613dbd764 (diff)
downloadpython-coveragepy-git-77cdb9f15cd161e25da6f47ceaa8deb516c353af.tar.gz
mypy: add data.py and test_api.py
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index 40c5f095..414b66d7 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -106,7 +106,7 @@ def nice_file(*fparts):
return os.path.normcase(os.path.abspath(os.path.realpath(fname)))
-def os_sep(s):
+def os_sep(s: str) -> str:
"""Replace slashes in `s` with the correct separator for the OS."""
return s.replace("/", os.sep)