Prepare to run the checker and get diff results.

def prepareDiff(self):
        """
        Prepare to run the checker and get diff results.
        """
        self.streamForDiff = NativeStringIO()
        self.linter.reporter.set_output(self.streamForDiff)