From db93205a36d4e55ae01c0c625c446b74e0438797 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 9 Aug 2015 09:58:18 -0400 Subject: Remove should_be_python from the FileReporter interface --- coverage/plugin.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'coverage/plugin.py') 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 -- cgit v1.2.1