scikit-hep / hepconvert

BSD 3-Clause "New" or "Revised" License
11 stars 1 forks source link

Use pytest's `tmp_path` fixture for tests that need paths to files #84

Closed matthewfeickert closed 6 months ago

matthewfeickert commented 6 months ago

[Paths that are absolute for a specific machine] mean tests will never pass on any machine that isn't [the original]. Instead use pytest's tmp_path fixture.

_Originally posted by @matthewfeickert in https://github.com/scikit-hep/hepconvert/pull/82#discussion_r1537234639_