Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ CrazyInt
Class
CrazyInt
numpy/lib/tests/test_io.py:881–883 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
879
880
# Testing with some crazy custom integer type
881
class
CrazyInt:
882
def
__index__(self):
883
return
1
884
885
crazy_int = CrazyInt()
886
c.seek(0)
Callers
1
test_usecols
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_usecols
Method · 0.68