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

Method _description

tables/tests/test_enum.py:233–244  ·  view source on GitHub ↗
(self, shape=())

Source from the content-addressed store, hash-verified

231 enumType = "uint16"
232
233 def _description(self, shape=()):
234 class TestDescription(tb.IsDescription):
235 rid = tb.IntCol(pos=0)
236 rcolor = tb.EnumCol(
237 self.enum,
238 self.defaultName,
239 base=self.enumType,
240 shape=shape,
241 pos=1,
242 )
243
244 return TestDescription
245
246 def test00a_reopen(self):
247 """Reopening a file with tables using enumerated data."""

Callers 7

test00a_reopenMethod · 0.95
test00b_reopenMDMethod · 0.95
test01_rowAppendMethod · 0.95
test02_appendMethod · 0.95
test03_setitemMethod · 0.95
test04_multidimMethod · 0.95
test05_whereMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected