def assertEqualPaths(self, x, y):
dircmp = filecmp.dircmp(x, y)
self.assertEmpty(dircmp.left_only)
self.assertEmpty(dircmp.right_only)
self.assertEmpty(dircmp.diff_files)
#
# def tearDown(self):
# for path in self.temp_data:
# if os.path.isdir(path):
# shutil.rmtree(path)
# elif os.path.exists(path):
# os.remove(path)
评论列表
文章目录