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

Method t_fixture

test/sql/test_operators.py:5225–5236  ·  view source on GitHub ↗
(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 "tab1",
5230 m,
5231 Column("arrval", ARRAY(Integer)),
5232 Column("arrenum", ARRAY(Enum(MyEnum))),
5233 Column("arrstring", ARRAY(String)),
5234 Column("data", Integer),
5235 )
5236 return t
5237
5238 # test legacy array any() / all(). these are superseded by the
5239 # 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