Lines Matching refs:isdisjoint
143 self.assertFalse(d1.keys().isdisjoint(d1.keys()))
144 self.assertFalse(d1.keys().isdisjoint(d2.keys()))
145 self.assertFalse(d1.keys().isdisjoint(list(d2.keys())))
146 self.assertFalse(d1.keys().isdisjoint(set(d2.keys())))
147 self.assertTrue(d1.keys().isdisjoint({'x', 'y', 'z'}))
148 self.assertTrue(d1.keys().isdisjoint(['x', 'y', 'z']))
149 self.assertTrue(d1.keys().isdisjoint(set(['x', 'y', 'z'])))
150 self.assertTrue(d1.keys().isdisjoint(set(['x', 'y'])))
151 self.assertTrue(d1.keys().isdisjoint(['x', 'y']))
152 self.assertTrue(d1.keys().isdisjoint({}))
153 self.assertTrue(d1.keys().isdisjoint(d3.keys()))
156 self.assertTrue(de.keys().isdisjoint(set()))
157 self.assertTrue(de.keys().isdisjoint([]))
158 self.assertTrue(de.keys().isdisjoint(de.keys()))
159 self.assertTrue(de.keys().isdisjoint([1]))
200 self.assertFalse(d1.items().isdisjoint(d1.items()))
201 self.assertFalse(d1.items().isdisjoint(d2.items()))
202 self.assertFalse(d1.items().isdisjoint(list(d2.items())))
203 self.assertFalse(d1.items().isdisjoint(set(d2.items())))
204 self.assertTrue(d1.items().isdisjoint({'x', 'y', 'z'}))
205 self.assertTrue(d1.items().isdisjoint(['x', 'y', 'z']))
206 self.assertTrue(d1.items().isdisjoint(set(['x', 'y', 'z'])))
207 self.assertTrue(d1.items().isdisjoint(set(['x', 'y'])))
208 self.assertTrue(d1.items().isdisjoint({}))
209 self.assertTrue(d1.items().isdisjoint(d3.items()))
212 self.assertTrue(de.items().isdisjoint(set()))
213 self.assertTrue(de.items().isdisjoint([]))
214 self.assertTrue(de.items().isdisjoint(de.items()))
215 self.assertTrue(de.items().isdisjoint([1]))