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

Method t_fixture

test/sql/test_operators.py:5225–5236  ·  test/sql/test_operators.py::DeprecatedAnyAllTest.t_fixture
(self)

Source from the content-addressed store, hash-verified

5223
5224 @testing.fixture
5225 def t_fixture(self):
5226 m = MetaData()
5227
5228 t = Table(
5229 class="st">"tab1",
5230 m,
5231 Column(class="st">"arrval", ARRAY(Integer)),
5232 Column(class="st">"arrenum", ARRAY(Enum(MyEnum))),
5233 Column(class="st">"arrstring", ARRAY(String)),
5234 Column(class="st">"data", Integer),
5235 )
5236 return t
5237
5238 class="cm"># test legacy array any() / all(). these are superseded by the
5239 class="cm"># any_() / all_() versions

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