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

Method _create_sets

test/base/test_utils.py:2046–2060  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2044 pass # TODO
2045
2046 def _create_sets(self):
2047 o1, o2, o3, o4, o5 = (
2048 self.obj_type(),
2049 self.obj_type(),
2050 self.obj_type(),
2051 self.obj_type(),
2052 self.obj_type(),
2053 )
2054 super_ = util.IdentitySet([o1, o2, o3])
2055 sub_ = util.IdentitySet([o2])
2056 twin1 = util.IdentitySet([o3])
2057 twin2 = util.IdentitySet([o3])
2058 unique1 = util.IdentitySet([o4])
2059 unique2 = util.IdentitySet([o5])
2060 return super_, sub_, twin1, twin2, unique1, unique2
2061
2062 def _assert_unorderable_types(self, callable_):
2063 assert_raises_message(

Callers 15

test_dunder_eqMethod · 0.95
test_dunder_neMethod · 0.95
test_dunder_leMethod · 0.95
test_dunder_ltMethod · 0.95
test_dunder_geMethod · 0.95
test_dunder_gtMethod · 0.95
test_issubsetMethod · 0.95
test_issupersetMethod · 0.95
test_unionMethod · 0.95
test_dunder_orMethod · 0.95
test_dunder_iorMethod · 0.95
test_differenceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected