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

Method test_seekable

Lib/test/test_io/test_bufferedio.py:1113–1117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1111 self.assertTrue(pair.writable())
1112
1113 def test_seekable(self):
1114 # BufferedRWPairs are never seekable, even if their readers and writers
1115 # are.
1116 pair = self.tp(self.MockRawIO(), self.MockRawIO())
1117 self.assertFalse(pair.seekable())
1118
1119 # .flush() is delegated to the underlying writer object and has been
1120 # 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