MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_isdisjoint_subset

Method test_isdisjoint_subset

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

Source from the content-addressed store, hash-verified

1197 self.assertEqual(result, empty_set)
1198
1199 def test_isdisjoint_subset(self):
1200 result = self.set.isdisjoint(set((2, 4)))
1201 self.assertEqual(result, False)
1202
1203 def test_isdisjoint_superset(self):
1204 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