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

Method test_intersection_method_call

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

Source from the content-addressed store, hash-verified

1265 self.assertEqual(self.set, empty_set)
1266
1267 def test_intersection_method_call(self):
1268 self.set.intersection_update(set([3, 4, 5]))
1269 self.assertEqual(self.set, set([4]))
1270
1271 def test_sym_difference_subset(self):
1272 self.set ^= set((2, 4))

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
intersection_updateMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected