test_common.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:cli 作者: sparkl 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号