MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / variation_fixture

Function variation_fixture

lib/sqlalchemy/testing/config.py:302–307  ·  view source on GitHub ↗
(argname, cases, scope="function")

Source from the content-addressed store, hash-verified

300
301
302def variation_fixture(argname, cases, scope="function"):
303 return fixture(
304 params=Variation.generate_cases(argname, cases),
305 ids=Variation.idfn,
306 scope=scope,
307 )
308
309
310def fixture(*arg: Any, **kw: Any) -> Any:

Callers

nothing calls this directly

Calls 2

generate_casesMethod · 0.80
fixtureFunction · 0.70

Tested by

no test coverage detected