summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-06-16 16:17:24 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-06-16 16:17:24 -0400
commitaac8f658b4ae955b241e4cb54ca61690a19df418 (patch)
treecffdbe935dac8cfb9badc456daf90d2be3fea19b /coverage/files.py
parent01d491ea56ad2d588898ee2ab70b99731f1b26c1 (diff)
downloadpython-coveragepy-git-aac8f658b4ae955b241e4cb54ca61690a19df418.tar.gz
Be more specific with PathAliases tests.
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py
index c9afefd8..154954d6 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -293,7 +293,9 @@ class PathAliases(object):
in the alias.
Returns:
- The mapped path. This is always a canonical filename.
+ The mapped path. If a mapping has happened, this is a
+ canonical path. If no mapping has happened, it is the
+ original value of `path` unchanged.
"""
for regex, result, pattern_sep, result_sep in self.aliases: