def test_garbage_collect_2(self):
"""
Garbage collection should not remove live pid.
"""
self.args.session = os.getppid()
working_dir = common.get_working_dir(self.args)
assert os.path.exists(working_dir)
common.garbage_collect()
assert os.path.exists(working_dir)
评论列表
文章目录