diff options
Diffstat (limited to 'coverage/codeunit.py')
-rw-r--r-- | coverage/codeunit.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/coverage/codeunit.py b/coverage/codeunit.py index 6eae36d6..5e8712d8 100644 --- a/coverage/codeunit.py +++ b/coverage/codeunit.py @@ -13,7 +13,6 @@ class CodeUnit(FileReporter): `name` is a human-readable name for this code unit. `filename` is the os path from which we can read the source. - `relative` is a boolean. """ @@ -30,13 +29,8 @@ class CodeUnit(FileReporter): if hasattr(morf, '__name__'): name = morf.__name__ name = name.replace(".", os.sep) + ".py" - self.relative = True else: name = self.file_locator.relative_filename(filename) - if os.path.isabs(filename): - self.relative = (name != filename) - else: - self.relative = True self.name = name def _adjust_filename(self, f): |