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

Method test_update_set

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

Source from the content-addressed store, hash-verified

258 self.assertRaises(TypeError, self.s.update, [[]])
259
260 def test_update_set(self):
261 self.s.update(set(self.items2))
262 for c in (self.items + self.items2):
263 self.assertIn(c, self.s)
264
265 def test_ior(self):
266 self.s |= set(self.items2)

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
assertInMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected