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

Method test_empty_isdisjoint

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

Source from the content-addressed store, hash-verified

959 self.assertEqual(result, not self.set)
960
961 def test_empty_isdisjoint(self):
962 result = self.set.isdisjoint(empty_set)
963 self.assertEqual(result, True)
964
965 def test_isdisjoint_empty(self):
966 result = empty_set.isdisjoint(self.set)

Callers

nothing calls this directly

Calls 2

isdisjointMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected