test_neuroexplorerio.py 700 B

123456789101112131415161718192021222324252627282930
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.neuroexplorerio
  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 NeuroExplorerIO
  13. from neo.test.iotest.common_io_test import BaseTestIO
  14. @unittest.skipIf(sys.version_info[0] > 2, "not Python 3 compatible")
  15. class TestNeuroExplorerIO(BaseTestIO, unittest.TestCase, ):
  16. ioclass = NeuroExplorerIO
  17. files_to_test = ['File_neuroexplorer_1.nex',
  18. 'File_neuroexplorer_2.nex',
  19. ]
  20. files_to_download = files_to_test
  21. if __name__ == "__main__":
  22. unittest.main()