MCPcopy Index your code
hub / github.com/python/cpython / seekable

Method seekable

Lib/test/test_zstd.py:2294–2295  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2292 def test_seek_not_seekable(self):
2293 class C(io.BytesIO):
2294 def seekable(self):
2295 return False
2296 obj = C(COMPRESSED_100_PLUS_32KB)
2297 with ZstdFile(obj, 'r') as f:
2298 d = f.read(1)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected