MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_distill_20_dict

Method test_distill_20_dict

test/engine/test_processors.py:185–194  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 self.module._distill_params_20(arg)
184
185 def test_distill_20_dict(self):
186 eq_(self.module._distill_params_20({"foo": "bar"}), [{"foo": "bar"}])
187 eq_(
188 self.module._distill_params_20(immutabledict({"foo": "bar"})),
189 [immutabledict({"foo": "bar"})],
190 )
191 eq_(
192 self.module._distill_params_20(MappingProxyType({"foo": "bar"})),
193 [MappingProxyType({"foo": "bar"})],
194 )
195
196 def test_distill_20_error(self):
197 with expect_raises_message(

Callers

nothing calls this directly

Calls 2

eq_Function · 0.90
immutabledictClass · 0.90

Tested by

no test coverage detected