Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ seekable
Method
seekable
Lib/test/test_io/utils.py:187–188 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
185
186
class
MockUnseekableIO:
187
def
seekable(self):
188
return
False
189
190
def
seek(self, *args):
191
raise
self.UnsupportedOperation(
"not seekable"
)
Callers
11
test_zipextfile_attrs
Method · 0.45
test_zipwritefile_attrs
Method · 0.45
seek
Method · 0.45
testErrnoOnClosedSeekable
Method · 0.45
test_seekable
Method · 0.45
test_seekable
Method · 0.45
do_test
Method · 0.45
test_raw_file_io
Method · 0.45
test_buffered_file_io
Method · 0.45
test_open_pipe_with_append
Method · 0.45
test_flags
Method · 0.45
Calls
no outgoing calls
Tested by
11
test_zipextfile_attrs
Method · 0.36
test_zipwritefile_attrs
Method · 0.36
seek
Method · 0.36
testErrnoOnClosedSeekable
Method · 0.36
test_seekable
Method · 0.36
test_seekable
Method · 0.36
do_test
Method · 0.36
test_raw_file_io
Method · 0.36
test_buffered_file_io
Method · 0.36
test_open_pipe_with_append
Method · 0.36
test_flags
Method · 0.36