Skip to content

Commit

Permalink
Update phys2bids/tests/test_phys2bids.py
Browse files Browse the repository at this point in the history
Co-authored-by: Taylor Salo <[email protected]>
  • Loading branch information
eurunuela and tsalo committed Aug 20, 2020
1 parent 5b687f5 commit 5166b3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions phys2bids/tests/test_phys2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ def test_raise_exception(samefreq_full_acq_file):
with raises(Exception) as errorinfo:
phys2bids.phys2bids(filename=test_filename, num_timepoints_expected=[70], tr=[1.3, 2],
indir=test_path, outdir=test_path)
assert 'doesn\'t match' in str(errorinfo.value)
assert "doesn't match" in str(errorinfo.value)

with raises(Exception) as errorinfo:
phys2bids.phys2bids(filename=test_filename, num_timepoints_expected=[20, 300], chtrig=3, tr=1.5,
indir=test_path, outdir=test_path)
assert 'stop now' in str(errorinfo.value)

0 comments on commit 5166b3c

Please sign in to comment.