Skip to content

Commit

Permalink
change in test as well
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Apr 25, 2023
1 parent 487c904 commit ac508e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo/test/rawiotest/test_mearecrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_not_loading_recordings(self):

filename = self.entities_to_test[0]
filename = self.get_local_path(filename)
rawio = self.rawioclass(filename=filename, load_recordings=False)
rawio = self.rawioclass(filename=filename, load_analogsignal=False)
rawio.parse_header()

# Test that rawio does not have a _recordings attribute
Expand All @@ -41,7 +41,7 @@ def test_not_loading_recordings(self):
rawio.get_spike_timestamps()

# Test that caling anlogsignal chunk raises the right error
error_message = "Recordings not loaded. Set load_recordings=True in MEArecRawIO constructor"
error_message = "Recordings not loaded. Set load_analogsignal=True in MEArecRawIO constructor"
with self.assertRaises(AttributeError, msg=error_message):
rawio.get_analogsignal_chunk()

Expand Down

0 comments on commit ac508e1

Please sign in to comment.