MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _create_sets

Method _create_sets

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

Source from the content-addressed store, hash-verified

2139 pass # TODO
2140
2141 def _create_sets(self):
2142 o1, o2, o3, o4, o5 = (
2143 self.obj_type(),
2144 self.obj_type(),
2145 self.obj_type(),
2146 self.obj_type(),
2147 self.obj_type(),
2148 )
2149 super_ = util.IdentitySet([o1, o2, o3])
2150 sub_ = util.IdentitySet([o2])
2151 twin1 = util.IdentitySet([o3])
2152 twin2 = util.IdentitySet([o3])
2153 unique1 = util.IdentitySet([o4])
2154 unique2 = util.IdentitySet([o5])
2155 return super_, sub_, twin1, twin2, unique1, unique2
2156
2157 def _assert_unorderable_types(self, callable_):
2158 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