diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-21 09:36:12 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-21 09:36:12 -0500 |
commit | 8643f41bfe1fe7ab19184f30130ff1f95140eceb (patch) | |
tree | 41a8861b8a5c63912d3d0806449abe234c41057e /coverage/files.py | |
parent | 1ac09127438adac06de02172e4fad34d7b096be3 (diff) | |
download | python-coveragepy-git-8643f41bfe1fe7ab19184f30130ff1f95140eceb.tar.gz |
refactor: super-nit-picky tweaks from mypy
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/files.py b/coverage/files.py index afb0dbf5..3cf87faa 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -137,9 +137,9 @@ if env.WINDOWS: return actpath else: - def actual_path(filename): + def actual_path(path): """The actual path for non-Windows platforms.""" - return filename + return path @contract(returns='unicode') |