summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/files.py b/coverage/files.py
index 65b1dc01..8d2a2a7b 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -109,14 +109,14 @@ if sys.platform == 'win32':
actual = actual.encode('utf8')
return actual
else:
- def actual_filename(filename):
- """The actual filename for non-Windows platforms."""
+ def actual_path(filename):
+ """The actual path for non-Windows platforms."""
return filename
def abs_file(filename):
"""Return the absolute normalized form of `filename`."""
path = os.path.abspath(os.path.realpath(filename))
- path = actual_filename(path)
+ path = actual_path(path)
return path