diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-04-15 20:17:00 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-04-15 20:17:00 -0400 |
commit | 1c7b47e35340327862ed6e8e3354f5471d7d1342 (patch) | |
tree | 05ca9e856df0d31aaa04f0a995c11ff6d6219f29 /tests/plugin2.py | |
parent | ab80c2eec43d34f9bc1ec346b9541844d554c63b (diff) | |
download | python-coveragepy-git-1c7b47e35340327862ed6e8e3354f5471d7d1342.tar.gz |
backout b98fc53, so that tip is clean for merging pull requests.
Diffstat (limited to 'tests/plugin2.py')
-rw-r--r-- | tests/plugin2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin2.py b/tests/plugin2.py index 1d5d9e9f..658ee221 100644 --- a/tests/plugin2.py +++ b/tests/plugin2.py @@ -25,7 +25,7 @@ class RenderFileTracer(coverage.plugin.FileTracer): def dynamic_source_filename(self, filename, frame): if frame.f_code.co_name != "render": return None - return frame.f_locals['filename'] + return os.path.abspath(frame.f_locals['filename']) def line_number_range(self, frame): lineno = frame.f_locals['linenum'] |