MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _

Method _

test/orm/test_session.py:2173–2181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2171
2172 # flush will no-op without something in the unit of work
2173 def _():
2174 class OK:
2175 pass
2176
2177 self._map_it(OK)
2178
2179 s = fixture_session()
2180 s.add(OK())
2181 x_raises_(s, "flush", objects=(user_arg,))
2182
2183 _()
2184

Callers

nothing calls this directly

Calls 4

_map_itMethod · 0.95
fixture_sessionFunction · 0.90
OKClass · 0.85
addMethod · 0.45

Tested by

no test coverage detected