MCPcopy 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
240class MockUnseekableIO:
241 def seekable(self):
242 return False
243
244 def seek(self, *args):
245 raise self.UnsupportedOperation("not seekable")

Callers 5

do_testMethod · 0.45
test_raw_file_ioMethod · 0.45
test_buffered_file_ioMethod · 0.45
test_seekableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected