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

Method test_issue_37219

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

Source from the content-addressed store, hash-verified

1000 "%s != %s" % (self.set, copy))
1001
1002 def test_issue_37219(self):
1003 with self.assertRaises(TypeError):
1004 set().difference(123)
1005 with self.assertRaises(TypeError):
1006 set().difference_update(123)
1007
1008#------------------------------------------------------------------------------
1009

Callers

nothing calls this directly

Calls 4

setFunction · 0.85
differenceMethod · 0.80
difference_updateMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected