diff --git a/tests/modeling/test_bayesianblocks.py b/tests/modeling/test_bayesianblocks.py index a9b6d23a..0e96a203 100644 --- a/tests/modeling/test_bayesianblocks.py +++ b/tests/modeling/test_bayesianblocks.py @@ -5,7 +5,7 @@ import hepstats from hepstats.modeling import bayesian_blocks -answer_dir = Path(hepstats.__file__) / "data" +answer_dir = Path(hepstats.__file__).parent / "data" def test_bayesian_blocks(cmdopt, data_gen):