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

Method test_from_number_subclass

Lib/test/test_complex.py:773–774  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

771 self.assertRaises(TypeError, cls.from_number)
772
773 def test_from_number_subclass(self):
774 self.test_from_number(ComplexSubclass)
775
776 def test_hash(self):
777 for x in range(-30, 30):

Callers

nothing calls this directly

Calls 1

test_from_numberMethod · 0.95

Tested by

no test coverage detected