Home | History | Annotate | Download | only in test

Lines Matching refs:bloc

1648         bloc = txt.find(b"Bruce")
1654 fp.seek(bloc, os.SEEK_SET)
1655 self.assertEqual(fp.tell(), bloc)
1656 fp.seek(-bloc, os.SEEK_CUR)
1658 fp.seek(bloc, os.SEEK_CUR)
1659 self.assertEqual(fp.tell(), bloc)
1660 self.assertEqual(fp.read(5), txt[bloc:bloc+5])
1671 fp.seek(bloc, os.SEEK_SET)
1672 self.assertEqual(fp.tell(), bloc)
1673 fp.seek(-bloc, os.SEEK_CUR)
1675 fp.seek(bloc, os.SEEK_CUR)
1676 self.assertEqual(fp.tell(), bloc)
1677 self.assertEqual(fp.read(5), txt[bloc:bloc+5])