Home | History | Annotate | Download | only in test

Lines Matching refs:tobuf

198             fobj.write(tarfile.TarInfo("foo").tobuf())
1388 data = tarfile.TarInfo("foo").tobuf()
1392 data = tarfile.TarInfo("foo").tobuf()
1404 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1408 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1412 tarinfo.tobuf(tarfile.USTAR_FORMAT)
1416 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1420 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1425 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1430 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.USTAR_FORMAT)
1434 tarinfo.tobuf(tarfile.GNU_FORMAT)
1438 tarinfo.tobuf(tarfile.GNU_FORMAT)
1443 self.assertRaises(ValueError, tarinfo.tobuf, tarfile.GNU_FORMAT)
1447 tarinfo.tobuf(tarfile.PAX_FORMAT)
1451 tarinfo.tobuf(tarfile.PAX_FORMAT)
1455 tarinfo.tobuf(tarfile.PAX_FORMAT)
1585 data = bz2.compress(tarfile.TarInfo("foo").tobuf())