tmp_path is a pathlib.Path object. Here is an example test usage: # content of test_tmp_path.py CONTENT = "content" def test_create_file(tmp_path): d ...
確定! 回上一頁