def METHOD_NAME(self):
    cwd = os.getcwd()
    pack_path = os.path.join(cwd, 'exported_withTar')
    os.makedirs(name=pack_path)
    tar_arch = self.arch_dir_comp + '.tar.gz'
    pack_path_comp = os.path.join(pack_path, tar_arch)
    pack_path_csv = os.path.join(pack_path, 'export.csv')
    self.pr.pack(destination_path=pack_path_comp, csv_file_name=pack_path_csv, compress=True)
    pr = self.pr.open("nested2")
    pr_imp = pr.open("imported2")
    pr_imp.unpack(origin_path=pack_path_comp, csv_file_name=pack_path_csv, compress=True)
    # here the 7 is the length of '.tar.gz' string
    extract_archive(pack_path_comp[:-7])
    compare_obj = dircmp(pack_path_comp[:-7], pr_imp.path)
    self.assertEqual(len(compare_obj.diff_files), 0)
    pr.remove(enable=True)
    try:
        rmtree(pack_path)
    except Exception as err_msg:
        print(f"deleting unsuccessful: {err_msg}")