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

Method test_op

test/base/test_utils.py:309–315  ·  view source on GitHub ↗
(self, fn)

Source from the content-addressed store, hash-verified

307 lambda o: o.union([11, 2], [22, 8]),
308 )
309 def test_op(self, fn):
310 o = util.OrderedSet(range(10))
311 x = fn(o)
312 is_instance_of(x, util.OrderedSet)
313 in_(9, x)
314 in_(11, x)
315 not_in(11, o)
316
317 def test_update(self):
318 o = util.OrderedSet(range(10))

Callers

nothing calls this directly

Calls 3

is_instance_ofFunction · 0.90
in_Function · 0.90
not_inFunction · 0.90

Tested by

no test coverage detected