diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-21 15:39:50 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-21 15:39:50 -0500 |
commit | 2adca2bfe644f9214f520410738055c6905a3e66 (patch) | |
tree | 6a5aa67b4ad79c0befa7687d0a8d11d3533f8000 | |
parent | 73cef0218aba2909c7bf46a0ce7d1104d9a630d8 (diff) | |
download | python-coveragepy-git-2adca2bfe644f9214f520410738055c6905a3e66.tar.gz |
In 'debug sys' data, don't call it 'data_file', since it doesn't find out anything about the file, it's just the path to the file.
-rw-r--r-- | TODO.txt | 1 | ||||
-rw-r--r-- | coverage/control.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ Coverage TODO - Maybe turning off yellow lines should make those lines green?
- A missing branch to leave the function shows an annotation of -1.
- XML report needs to get branch information.
+- Add branch info to "coverage debug data"
* Speed
diff --git a/coverage/control.py b/coverage/control.py index 23740ca4..e041cde7 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -319,7 +319,7 @@ class coverage(object): ('cover_prefix', self.cover_prefix), ('pylib_prefix', self.pylib_prefix), ('tracer', self.collector.tracer_name()), - ('data_file', self.data.filename), + ('data_path', self.data.filename), ('python', sys.version.replace('\n', '')), ('platform', platform.platform()), ('cwd', os.getcwd()), |