Skip to content

Commit

Permalink
use local test file path (fails when running tests from PyPI install)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-langfield committed Sep 5, 2024
1 parent cd82c15 commit c7c0357
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/tests/unit/cpu/test_waveforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ def test_peak_through_tip_3d():

def test_halfpeak_slopes():
# Load fixtures
folder_save = (
Path(waveforms.__file__)
.parents[1]
.joinpath("tests", "unit", "cpu", "fixtures", "waveform_sample")
)
folder_save = Path(__file__).parent.joinpath("fixtures", "waveform_sample")
arr_in = np.load(folder_save.joinpath("test_arr_in.npy"))
test_arr_peak = np.load(folder_save.joinpath("test_arr_peak.npy"))
test_df = pd.read_csv(folder_save.joinpath("test_df.csv"))
Expand Down

0 comments on commit c7c0357

Please sign in to comment.