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

Method test_isdisjoint

Lib/test/test_weakset.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 self.assertEqual(len(i), len(self.items2))
108
109 def test_isdisjoint(self):
110 self.assertTrue(self.s.isdisjoint(WeakSet(self.items2)))
111 self.assertTrue(not self.s.isdisjoint(WeakSet(self.letters)))
112
113 def test_and(self):
114 i = self.s.intersection(self.items2)

Callers

nothing calls this directly

Calls 3

WeakSetClass · 0.90
assertTrueMethod · 0.80
isdisjointMethod · 0.45

Tested by

no test coverage detected