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

Method setUp

tables/tests/test_tables.py:6773–6789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6771 v2 = tb.StringCol(itemsize=8)
6772
6773 def setUp(self):
6774 super().setUp()
6775
6776 tbl = self.h5file.create_table("/", "test", self.SrcTblDesc)
6777 row = tbl.row
6778
6779 row["id"] = 1
6780 row["v1"] = 1.5
6781 row["v2"] = "a" * 8
6782 row.append()
6783
6784 row["id"] = 2
6785 row["v1"] = 2.5
6786 row["v2"] = "b" * 6
6787 row.append()
6788
6789 tbl.flush()
6790
6791 def test00_same(self):
6792 """Query with same storage."""

Callers

nothing calls this directly

Calls 4

setUpMethod · 0.45
create_tableMethod · 0.45
appendMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected