MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_intersection_method_call

Method test_intersection_method_call

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

Source from the content-addressed store, hash-verified

1271 self.assertEqual(self.set, empty_set)
1272
1273 def test_intersection_method_call(self):
1274 self.set.intersection_update(set([3, 4, 5]))
1275 self.assertEqual(self.set, set([4]))
1276
1277 def test_sym_difference_subset(self):
1278 self.set ^= set((2, 4))

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
intersection_updateMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected