MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_seekable

Method test_seekable

Lib/test/test_io.py:2304–2308  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2302 self.assertTrue(pair.writable())
2303
2304 def test_seekable(self):
2305 # BufferedRWPairs are never seekable, even if their readers and writers
2306 # are.
2307 pair = self.tp(self.MockRawIO(), self.MockRawIO())
2308 self.assertFalse(pair.seekable())
2309
2310 # .flush() is delegated to the underlying writer object and has been
2311 # tested in the test_write method.

Callers

nothing calls this directly

Calls 2

assertFalseMethod · 0.80
seekableMethod · 0.45

Tested by

no test coverage detected