Skip to content

Commit

Permalink
Tests: fix test using "-" on bool arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Jul 11, 2017
1 parent 5a3bb2f commit 01f0f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fretbursts/tests/test_burstlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_iter_ph_times(data):
if d.alternated:
assert (ph == d.ph_times_m[ich][d.D_em[ich] * d.D_ex[ich]]).all()
else:
assert (ph == d.ph_times_m[ich][-d.A_em[ich]]).all()
assert (ph == d.ph_times_m[ich][~d.A_em[ich]]).all()

for ich, ph in enumerate(d.iter_ph_times(Ph_sel(Dex='Aem'))):
if d.alternated:
Expand Down

0 comments on commit 01f0f74

Please sign in to comment.