def test_open_archive_bz2(self):
    'Test open_archive with bz2 compressor in the standard library.'
    self.assertEqual(self._get_content((self.base_file + '.bz2')), self.original_content)
    self.assertEqual(self._get_content((self.base_file + '.bz2'), use_extension=False), self.original_content)
Test open_archive with bz2 compressor in the standard library.
def test_open_archive_bz2(self):
    
    self.assertEqual(self._get_content((self.base_file + '.bz2')), self.original_content)
    self.assertEqual(self._get_content((self.base_file + '.bz2'), use_extension=False), self.original_content)