When I use fp = tmpdir.join("hello.txt")
in pytest, does pytest actually create a file in my temp directory or it creates only when I write fp.write("hello")
?
Asked
Active
Viewed 262 times
0

Yong zhu
- 103
- 1
- 1
- 6
-
1You could try it and see, what happens. – Dragonthoughts May 11 '20 at 23:58