test_plexonio.py 700 B

12345678910111213141516171819202122232425262728293031
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.plexonio
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import absolute_import, division
  7. import sys
  8. try:
  9. import unittest2 as unittest
  10. except ImportError:
  11. import unittest
  12. from neo.io import PlexonIO
  13. from neo.test.iotest.common_io_test import BaseTestIO
  14. @unittest.skipIf(sys.version_info[0] > 2, "not Python 3 compatible")
  15. class TestPlexonIO(BaseTestIO, unittest.TestCase, ):
  16. ioclass = PlexonIO
  17. files_to_test = ['File_plexon_1.plx',
  18. 'File_plexon_2.plx',
  19. 'File_plexon_3.plx',
  20. ]
  21. files_to_download = files_to_test
  22. if __name__ == "__main__":
  23. unittest.main()