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 | 14a1556283d6e854b312baa0a172719287ff2519 (patch) | |
tree | 13e503398696b707f299b526f65ef49bcb02f146 /tests/plugin2.py | |
parent | 8812abef13a0effb5a645342e75d6372e4fc9800 (diff) | |
download | python-coveragepy-14a1556283d6e854b312baa0a172719287ff2519.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 1d5d9e9..658ee22 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'] |