summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-21 09:36:12 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-21 09:36:12 -0500
commit8643f41bfe1fe7ab19184f30130ff1f95140eceb (patch)
tree41a8861b8a5c63912d3d0806449abe234c41057e /coverage/files.py
parent1ac09127438adac06de02172e4fad34d7b096be3 (diff)
downloadpython-coveragepy-git-8643f41bfe1fe7ab19184f30130ff1f95140eceb.tar.gz
refactor: super-nit-picky tweaks from mypy
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py4
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')