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

Method test_init

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

Source from the content-addressed store, hash-verified

754 basetype = frozenset
755
756 def test_init(self):
757 s = self.thetype(self.word)
758 s.__init__(self.otherword)
759 self.assertEqual(s, set(self.word))
760
761 def test_constructor_identity(self):
762 s = self.thetype(range(3))

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
__init__Method · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected