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
commit7ffdafd91aab97a92099ca5455bc199f2a047d0a (patch)
tree0dbc72500fd923a71d269f377e7f7ea6a7fc7fda /coverage/files.py
parentf15f22fd1ac7da4a4ad7dfd21015126420df64d0 (diff)
downloadpython-coveragepy-7ffdafd91aab97a92099ca5455bc199f2a047d0a.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).
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 f7fc969..1feb9b6 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: