MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _expect_no_iteration

Method _expect_no_iteration

test/orm/test_dynamic.py:151–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

149 yield _user_order_item_fixture
150
151 def _expect_no_iteration(self):
152 return expect_raises_message(
153 exc.InvalidRequestError,
154 'Collection "User.addresses" does not support implicit '
155 "iteration",
156 )
157
158
159class _WriteOnlyFixture(_DynamicFixture):

Callers 3

test_collection_setMethod · 0.80
test_merge_persistentMethod · 0.80

Calls 1

expect_raises_messageFunction · 0.90

Tested by

no test coverage detected