def test_errors(self):
        d = self.runPyflakes([self.tempfilepath])
        error_msg = '%s: No such file or directory\n' % (self.tempfilepath,)
        self.assertEqual(d, ('', error_msg, 1))
cacheit + code to check cache consistency
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/IntegrationTests.test_errors--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/core/cache.py/__cacheit_debug