summaryrefslogtreecommitdiff
path: root/coverage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/files.py')
-rw-r--r--coverage/files.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/files.py b/coverage/files.py
index 1feb9b68..a800b7a9 100644
--- a/coverage/files.py
+++ b/coverage/files.py
@@ -64,6 +64,7 @@ if env.WINDOWS:
head, tail = os.path.split(path)
if not tail:
+ # This means head is the drive spec: normalize it.
actpath = head.upper()
elif not head:
actpath = tail