def test_recurses(self):
        os.mkdir(os.path.join(self.tempdir, 'foo'))
        apath = self.makeEmptyFile('foo', 'a.py')
        os.mkdir(os.path.join(self.tempdir, 'bar'))
        bpath = self.makeEmptyFile('bar', 'b.py')
        cpath = self.makeEmptyFile('c.py')
        self.assertEqual(
            sorted(iterSourceCode([self.tempdir])),
            sorted([apath, bpath, cpath]))
If the Python files are hidden deep down in child directories, we will
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/TestIterSourceCode.test_recurses