MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_sym_difference

Method test_sym_difference

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

Source from the content-addressed store, hash-verified

1551 self.other)
1552
1553 def test_sym_difference(self):
1554 self.assertRaises(TypeError, lambda: self.set ^ self.other)
1555 self.assertRaises(TypeError, lambda: self.other ^ self.set)
1556 if self.otherIsIterable:
1557 self.set.symmetric_difference(self.other)
1558 else:
1559 self.assertRaises(TypeError, self.set.symmetric_difference, self.other)
1560
1561 def test_difference_update_operator(self):
1562 try:

Callers

nothing calls this directly

Calls 2

assertRaisesMethod · 0.45
symmetric_differenceMethod · 0.45

Tested by

no test coverage detected