diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 09:58:18 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-09 09:58:18 -0400 |
commit | f703ae86ce82834205e791d0c138f901494ddad0 (patch) | |
tree | 65ea982f4ceddd169fd8915c7d336a9146d9a0aa /coverage/plugin.py | |
parent | 9b685f291dee3f23785a0ab3dff4e413ea98f0da (diff) | |
download | python-coveragepy-f703ae86ce82834205e791d0c138f901494ddad0.tar.gz |
Remove should_be_python from the FileReporter interface
Diffstat (limited to 'coverage/plugin.py')
-rw-r--r-- | coverage/plugin.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/coverage/plugin.py b/coverage/plugin.py index 8cd6dd3..c569d26 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 |