aiidateam / aiida-pseudo

MIT License
5 stars 8 forks source link

Refactor: replace `tmpdir` fixture with `tmp_path` #127

Closed sphuber closed 2 years ago

sphuber commented 2 years ago

The tmpdir fixture provided by pytest has been deprecated and is replaced by the tmp_path fixture.

Note that the tmpdir used to return an instance of LocalPath, a class defined by pytest, but tmp_path returns an instance of pathlib.Path from the standard library.