test_spike2io.py 618 B

1234567891011121314151617181920212223242526
  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. import unittest
  8. from neo.io import Spike2IO
  9. from neo.test.iotest.common_io_test import BaseTestIO
  10. class TestSpike2IO(BaseTestIO, unittest.TestCase, ):
  11. ioclass = Spike2IO
  12. files_to_test = ['File_spike2_1.smr',
  13. 'File_spike2_2.smr',
  14. 'File_spike2_3.smr',
  15. '130322-1LY.smr', # this is for bug 182
  16. ]
  17. files_to_download = files_to_test
  18. if __name__ == "__main__":
  19. unittest.main()