Lines Matching defs:seekable
107 def seekable(self):
243 def seekable(self):
247 raise self.UnsupportedOperation("not seekable")
250 raise self.UnsupportedOperation("not seekable")
253 raise self.UnsupportedOperation("not seekable")
280 def seekable(self):
518 # Pipes seem to appear as seekable on Windows
520 seekable = "s" in abilities
521 self.assertEqual(obj.seekable(), seekable)
523 if seekable:
530 if writable and seekable:
550 self.assertEqual(f.seekable(), True)
555 self.assertEqual(f.seekable(), True)
562 self.assertEqual(f.seekable(), True)
567 self.assertEqual(f.seekable(), True)
2075 # BufferedRWPairs are never seekable, even if their readers and writers
2078 self.assertFalse(pair.seekable())
2414 # You can't construct a BufferedRandom over a non-seekable stream.
3239 self.assertEqual(buffer.seekable(), txt.seekable())
3570 def seekable(self): return True
3632 raw.seekable = lambda: False
3640 # If the raw stream is not seekable, there'll be a BOM
4001 # Check that the file is marked non-seekable. On Windows, however, lseek
4004 self.assertFalse(f.seekable())