def formatFailure(self, test, err):
        self.hadError=True
        return self.formatError(test, err)
Checks if the target file should be deleted if it already exists
dataset/ETHPy150Open ufora/ufora/ufora/test/OutputCaptureNosePlugin.py/OutputCaptureNosePlugin.formatFailure--crossover with--dataset/ETHPy150Open django/django/django/contrib/staticfiles/management/commands/collectstatic.py/Command.delete_file