def testSeekPostEnd(self):
    self.createTempFile()
    with BZ2File(self.filename) as bz2f:
        bz2f.seek(150000)
        self.assertEqual(bz2f.tell(), len(self.TEXT))
        self.assertEqual(bz2f.read(), b'')
def testSeekPostEnd(self):
    self.createTempFile()
    with BZ2File(self.filename) as bz2f:
        bz2f.seek(150000)
        self.assertEqual(bz2f.tell(), len(self.TEXT))
        self.assertEqual(bz2f.read(), b)