TestDirectoryInit 的测试方法需要一个临时目录作为当前工作目录,在类上添加 @pytest.mark.usefixtures("cleandir") ,类的方法不加fixture 也能 ...
確定! 回上一頁