Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ seekable
Method
seekable
Lib/test/test_io.py:241–242 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
239
240
class
MockUnseekableIO:
241
def
seekable(self):
242
return
False
243
244
def
seek(self, *args):
245
raise
self.UnsupportedOperation(
"not seekable"
)
Callers
5
do_test
Method · 0.45
test_raw_file_io
Method · 0.45
test_buffered_file_io
Method · 0.45
test_seekable
Method · 0.45
test_open_pipe_with_append
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected