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

Method test_self_isdisjoint

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

Source from the content-addressed store, hash-verified

955 self.assertEqual(result, empty_set)
956
957 def test_self_isdisjoint(self):
958 result = self.set.isdisjoint(self.set)
959 self.assertEqual(result, not self.set)
960
961 def test_empty_isdisjoint(self):
962 result = self.set.isdisjoint(empty_set)

Callers

nothing calls this directly

Calls 2

isdisjointMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected