From cd57713fbccddfc7e375c43165159642236969fd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 1 Mar 2015 12:27:11 -0500 Subject: Absolute names in data, fixes Windows plugins, breaks data tests. --- tests/plugin2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/plugin2.py b/tests/plugin2.py index 658ee221..1d5d9e9f 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'] -- cgit v1.2.1