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

Method test_from_number_subclass

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

Source from the content-addressed store, hash-verified

766 self.assertRaises(TypeError, cls.from_number)
767
768 def test_from_number_subclass(self):
769 self.test_from_number(ComplexSubclass)
770
771 def test_hash(self):
772 for x in range(-30, 30):

Callers

nothing calls this directly

Calls 1

test_from_numberMethod · 0.95

Tested by

no test coverage detected