Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

test_spike2io.py 680 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.spike2io
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import absolute_import, division
  7. try:
  8. import unittest2 as unittest
  9. except ImportError:
  10. import unittest
  11. from neo.io import Spike2IO
  12. from neo.test.iotest.common_io_test import BaseTestIO
  13. class TestSpike2IO(BaseTestIO, unittest.TestCase, ):
  14. ioclass = Spike2IO
  15. files_to_test = ['File_spike2_1.smr',
  16. 'File_spike2_2.smr',
  17. 'File_spike2_3.smr',
  18. '130322-1LY.smr', # this is for bug 182
  19. ]
  20. files_to_download = files_to_test
  21. if __name__ == "__main__":
  22. unittest.main()