MCPcopy Create free account
hub / github.com/PyCQA/pyflakes / test_emptyDirectory

Method test_emptyDirectory

pyflakes/test/test_api.py:115–119  ·  view source on GitHub ↗

There are no Python files in an empty directory.

(self)

Source from the content-addressed store, hash-verified

113 return fpath
114
115 def test_emptyDirectory(self):
116 """
117 There are no Python files in an empty directory.
118 """
119 self.assertEqual(list(iterSourceCode([self.tempdir])), [])
120
121 def test_singleFile(self):
122 """

Callers

nothing calls this directly

Calls 1

iterSourceCodeFunction · 0.90

Tested by

no test coverage detected