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

Method setUp

tables/tests/test_basics.py:1249–1256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1247
1248class CheckFileTestCase(common.TempFileMixin, common.PyTablesTestCase):
1249 def setUp(self):
1250 super().setUp()
1251
1252 # Create a regular (text) file
1253 self.txtfile = tempfile.mktemp(".h5")
1254 self.fileh = open(self.txtfile, "w")
1255 self.fileh.write("Hello!")
1256 self.fileh.close()
1257
1258 def tearDown(self):
1259 self.fileh.close()

Callers

nothing calls this directly

Calls 3

writeMethod · 0.80
setUpMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected