MCPcopy Create free account
hub / github.com/pytorch/pytorch / testFromEmptyColumnList

Method testFromEmptyColumnList

caffe2/python/schema_test.py:409–413  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

407 self.assertFalse('b:c:d:x' in st)
408
409 def testFromEmptyColumnList(self):
410 st = schema.Struct()
411 columns = st.field_names()
412 rec = schema.from_column_list(col_names=columns)
413 self.assertEqual(rec, schema.Struct())
414
415 def testFromColumnList(self):
416 st = schema.Struct(

Callers

nothing calls this directly

Calls 2

field_namesMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected