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

Method makeEmptyFile

pyflakes/test/test_api.py:109–113  ·  view source on GitHub ↗
(self, *parts)

Source from the content-addressed store, hash-verified

107 shutil.rmtree(self.tempdir)
108
109 def makeEmptyFile(self, *parts):
110 assert parts
111 fpath = os.path.join(self.tempdir, *parts)
112 open(fpath, 'a').close()
113 return fpath
114
115 def test_emptyDirectory(self):
116 """

Callers 6

test_singleFileMethod · 0.95
test_onlyPythonSourceMethod · 0.95
test_recursesMethod · 0.95
test_shebangMethod · 0.95
test_explicitFilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected