From aac8f658b4ae955b241e4cb54ca61690a19df418 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 16 Jun 2015 16:17:24 -0400 Subject: Be more specific with PathAliases tests. --- coverage/files.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'coverage/files.py') 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: -- cgit v1.2.1