diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-06-16 16:17:24 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-06-16 16:17:24 -0400 |
commit | b55dadbceff60aeb2ee75bc2df55c7374f28d8f3 (patch) | |
tree | 238e38be2dbd69aa9b2171725b156e84f545c194 /coverage/files.py | |
parent | dcf58077f7be70d4c992c2cd3fe851ade84ea4f1 (diff) | |
download | python-coveragepy-b55dadbceff60aeb2ee75bc2df55c7374f28d8f3.tar.gz |
Be more specific with PathAliases tests.
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index c9afefd..154954d 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: |