Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ TestFloorIsNone
Class
TestFloorIsNone
Lib/test/test_math.py:531–532 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
529
#self.assertTrue(math.isnan(math.floor(NAN)))
530
531
class
TestFloorIsNone(float):
532
__floor__ = None
533
class
TestFloor:
534
def
__floor__(self):
535
return
42
Callers
1
testFloor
Method · 0.85
Calls
no outgoing calls
Tested by
1
testFloor
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…