Skip to content

Commit

Permalink
use allclose
Browse files Browse the repository at this point in the history
  • Loading branch information
ntolley authored and jasmainak committed Jul 9, 2024
1 parent 0bc2c1f commit 71f03b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hnn_core/tests/test_drives.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_drive_seeds(setup_net):
trial2_spikes = np.array(sorted(
net.external_drives['prox']['events'][1]))
# No two spikes should be perfectly identical across seeds
assert ~np.any(trial1_spikes == trial2_spikes)
assert ~np.any(np.allclose(trial1_spikes, trial2_spikes))


def test_add_drives():
Expand Down

0 comments on commit 71f03b2

Please sign in to comment.