Use tmp_path instead of tmpdir
afrid18 opened this issue · comments
Pytest documentation suggests that we should use tmp_path instead of tmpdir. As tmpdir returns a py.path.local
object when compared to tmp_path uses stdlib pathlib
version.
Refernece to official docs from pytest.
Stackoverflow answer recommendation.