def test_write_archive_gz(self):
    'Test writing a gz archive.'
    content = self._write_content('.gz')
    self.assertEqual(content[:3], b'\x1f\x8b\x08')
Test writing a gz archive.
def test_write_archive_gz(self):
    
    content = self._write_content('.gz')
    self.assertEqual(content[:3], b'\x1f\x8b\x08')