summaryrefslogtreecommitdiff
path: root/tests/plugin2.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-03-01 12:27:11 -0500
committerNed Batchelder <ned@nedbatchelder.com>2015-03-01 12:27:11 -0500
commite7e8d3c1db25973021a1ef212ca5d6b53230f715 (patch)
treeaec1aab215603a3fe87b58ba6cbf6974fe51cc64 /tests/plugin2.py
parent67d1a207b13ad3563111201602a46c0874cc3a8a (diff)
downloadpython-coveragepy-e7e8d3c1db25973021a1ef212ca5d6b53230f715.tar.gz
Absolute names in data, fixes Windows plugins, breaks data tests.
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 658ee22..1d5d9e9 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 os.path.abspath(frame.f_locals['filename'])
+ return frame.f_locals['filename']
def line_number_range(self, frame):
lineno = frame.f_locals['linenum']