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

Method test_from_number_subclass

Lib/test/test_float.py:313–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

311 self.assertRaises(TypeError, cls.from_number)
312
313 def test_from_number_subclass(self):
314 self.test_from_number(FloatSubclass)
315
316 def test_is_integer(self):
317 self.assertFalse((1.1).is_integer())

Callers

nothing calls this directly

Calls 1

test_from_numberMethod · 0.95

Tested by

no test coverage detected