MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / t_fixture

Method t_fixture

test/sql/test_operators.py:5001–5012  ·  test/sql/test_operators.py::AnyAllTest.t_fixture
(self)

Source from the content-addressed store, hash-verified

4999
5000 @testing.fixture
5001 def t_fixture(self):
5002 m = MetaData()
5003
5004 t = Table(
5005 class="st">"tab1",
5006 m,
5007 Column(class="st">"arrval", ARRAY(Integer)),
5008 Column(class="st">"arrenum", ARRAY(Enum(MyEnum))),
5009 Column(class="st">"arrstring", ARRAY(String)),
5010 Column(class="st">"data", Integer),
5011 )
5012 return t
5013
5014 null_comparisons = testing.combinations(
5015 lambda col: any_(col) == None,

Callers

nothing calls this directly

Calls 5

MetaDataClass · 0.90
TableClass · 0.90
ColumnClass · 0.90
ARRAYClass · 0.90
EnumClass · 0.90

Tested by

no test coverage detected