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

Method test_sym_difference_update

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

Source from the content-addressed store, hash-verified

1537 self.fail("expected TypeError")
1538
1539 def test_sym_difference_update(self):
1540 if self.otherIsIterable:
1541 self.set.symmetric_difference_update(self.other)
1542 else:
1543 self.assertRaises(TypeError,
1544 self.set.symmetric_difference_update,
1545 self.other)
1546
1547 def test_sym_difference(self):
1548 self.assertRaises(TypeError, lambda: self.set ^ self.other)

Callers

nothing calls this directly

Calls 2

assertRaisesMethod · 0.45

Tested by

no test coverage detected