MCPcopy Create free account
hub / github.com/PyTables/PyTables / test00_WriteFile

Method test00_WriteFile

tables/nodes/tests/test_filenode.py:207–214  ·  view source on GitHub ↗

Writing a whole file node.

(self)

Source from the content-addressed store, hash-verified

205 super().tearDown()
206
207 def test00_WriteFile(self):
208 """Writing a whole file node."""
209
210 datafile = open(self.datafname, "rb")
211 try:
212 copyFileToFile(datafile, self.fnode)
213 finally:
214 datafile.close()
215
216 def test01_SeekFile(self):
217 """Seeking and writing file node."""

Callers

nothing calls this directly

Calls 2

copyFileToFileFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected