MCPcopy Create free account
hub / github.com/RustPython/RustPython / TestFloorIsNone

Class TestFloorIsNone

Lib/test/test_math.py:576–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574 #self.assertTrue(math.isnan(math.floor(NAN)))
575
576 class TestFloorIsNone(float):
577 __floor__ = None
578 class TestFloor:
579 def __floor__(self):
580 return 42

Callers 1

testFloorMethod · 0.85

Calls

no outgoing calls

Tested by 1

testFloorMethod · 0.68