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

Method test_sub_with_mutation

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

Source from the content-addressed store, hash-verified

1998 self.check_set_op_does_not_crash(lambda a, b: a | b)
1999
2000 def test_sub_with_mutation(self):
2001 self.check_set_op_does_not_crash(lambda a, b: a - b)
2002
2003 def test_xor_with_mutation(self):
2004 self.check_set_op_does_not_crash(lambda a, b: a ^ b)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected