MCPcopy 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
186class MockUnseekableIO:
187 def seekable(self):
188 return False
189
190 def seek(self, *args):
191 raise self.UnsupportedOperation("not seekable")

Callers 11

test_zipextfile_attrsMethod · 0.45
seekMethod · 0.45
test_seekableMethod · 0.45
test_seekableMethod · 0.45
do_testMethod · 0.45
test_raw_file_ioMethod · 0.45
test_buffered_file_ioMethod · 0.45
test_flagsMethod · 0.45

Calls

no outgoing calls

Tested by 11

test_zipextfile_attrsMethod · 0.36
seekMethod · 0.36
test_seekableMethod · 0.36
test_seekableMethod · 0.36
do_testMethod · 0.36
test_raw_file_ioMethod · 0.36
test_buffered_file_ioMethod · 0.36
test_flagsMethod · 0.36