summaryrefslogtreecommitdiff
path: root/coverage/plugin.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-09 09:58:18 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-09 09:58:18 -0400
commitdb93205a36d4e55ae01c0c625c446b74e0438797 (patch)
tree251ad369b397d82df8815ea55ddb668087d4f1b4 /coverage/plugin.py
parentd7f2c64b7071d20378d6864cc4ec1c1c83b09175 (diff)
downloadpython-coveragepy-git-db93205a36d4e55ae01c0c625c446b74e0438797.tar.gz
Remove should_be_python from the FileReporter interface
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r--coverage/plugin.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py
index 8cd6dd3f..c569d26d 100644
--- a/coverage/plugin.py
+++ b/coverage/plugin.py
@@ -214,12 +214,3 @@ class FileReporter(object):
# A generic implementation, each line is one "txt" token.
for line in self.source().splitlines():
yield [('txt', line)]
-
- def should_be_python(self):
- """Does it seem like this file should contain Python?
-
- This is used to decide if a file reported as part of the execution of
- a program was really likely to have contained Python in the first
- place.
- """
- return False