summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
authorIonel Cristian Mărieș <ionel.mc@gmail.com>2015-06-06 19:17:41 +0000
committerIonel Cristian Mărieș <ionel.mc@gmail.com>2015-06-06 19:17:41 +0000
commit5f4265d53540aca7274b564fc3d863227f0da99c (patch)
tree76578eb0fc0e8d8ea357e20ace9cce359f037978 /coverage/files.py
parent54c0a60389b0fb365e4cc36830c557f5aac2bea2 (diff)
downloadpython-coveragepy-git-5f4265d53540aca7274b564fc3d863227f0da99c.tar.gz
Correct path normalization on Windows: the drive was not normalized (different inputs like "c:\asdf" and "C:\asdf" did not return the same path).
--HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py
index f7fc9693..1feb9b68 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -64,7 +64,7 @@ if env.WINDOWS:
head, tail = os.path.split(path)
if not tail:
- actpath = head
+ actpath = head.upper()
elif not head:
actpath = tail
else: