MCPcopy Index your code
hub / github.com/python/cpython / test_isdisjoint_subset

Method test_isdisjoint_subset

Lib/test/test_set.py:1193–1195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1191 self.assertEqual(result, empty_set)
1192
1193 def test_isdisjoint_subset(self):
1194 result = self.set.isdisjoint(set((2, 4)))
1195 self.assertEqual(result, False)
1196
1197 def test_isdisjoint_superset(self):
1198 result = self.set.isdisjoint(set([2, 4, 6, 8]))

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
isdisjointMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected