summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-04-15 20:17:00 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-04-15 20:17:00 -0400
commit14a1556283d6e854b312baa0a172719287ff2519 (patch)
tree13e503398696b707f299b526f65ef49bcb02f146 /tests/plugin2.py
parent8812abef13a0effb5a645342e75d6372e4fc9800 (diff)
downloadpython-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.py2
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']