Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ BadIndex
Class
BadIndex
Lib/test/test_io.py:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
77
78
class
BadIndex:
79
def
__index__(self):
80
1/0
81
82
class
MockRawIOWithoutRead:
83
""
"A RawIO implementation without read(), so
as
to exercise the default
Callers
1
test_reconfigure_errors
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_reconfigure_errors
Method · 0.56