summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-21 15:39:50 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-21 15:39:50 -0500
commit05565941a0a7d6d641d80277c091ef083ec17629 (patch)
tree928f287c18ed5fae8f8106e3b7ec7aff37db6c02
parent453439f6f81b28e797fb28d39201adf56ff0450a (diff)
downloadpython-coveragepy-05565941a0a7d6d641d80277c091ef083ec17629.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.txt1
-rw-r--r--coverage/control.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/TODO.txt b/TODO.txt
index 0524bc2..3b65de0 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -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 23740ca..e041cde 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()),