MCPcopy Create free account
hub / github.com/rthalley/dnspython / testUpdate1

Method testUpdate1

tests/test_set.py:236–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 self.assertRaises(KeyError, lambda: s1.pop())
235
236 def testUpdate1(self):
237 s1 = S([1, 2, 3])
238 u = (4, 5, 6)
239 e = S([1, 2, 3, 4, 5, 6])
240 s1.update(u)
241 self.assertEqual(s1, e)
242
243 def testUpdate2(self):
244 s1 = S([1, 2, 3])

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected