summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-11-11 12:22:03 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-11-11 12:22:03 -0500
commitfde676aeef895cfc028fd911ebd46e8f2d20e829 (patch)
tree3f6bc12f772817e49359ae2c690c6cabc362944f /coverage/control.py
parent5fc7c53a6d94cacf7f7b5fb26013ea28017abbc4 (diff)
downloadpython-coveragepy-fde676aeef895cfc028fd911ebd46e8f2d20e829.tar.gz
Windows now reports file names in their correct case. #89 and #203.
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 9523def..0391352 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -475,6 +475,7 @@ class coverage(object):
# Find files that were never executed at all.
for src in self.source:
for py_file in find_python_files(src):
+ py_file = self.file_locator.canonical_filename(py_file)
self.data.touch_file(py_file)
self._harvested = True