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_elphyio.py 839 B

123456789101112131415161718192021222324252627282930313233343536
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.elphyio
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import division
  7. import sys
  8. try:
  9. import unittest2 as unittest
  10. except ImportError:
  11. import unittest
  12. try:
  13. from neo.io import ElphyIO
  14. except ImportError:
  15. ElphyIO = None
  16. from neo.test.iotest.common_io_test import BaseTestIO
  17. #@unittest.skipIf(sys.version_info[0] > 2, "not Python 3 compatible")
  18. @unittest.skip("ElphyIO not yet updated to the new API")
  19. class TestElphyIO(BaseTestIO, unittest.TestCase):
  20. ioclass = ElphyIO
  21. files_to_test = ['ElphyExample.DAT',
  22. 'ElphyExample_Mode1.dat',
  23. 'ElphyExample_Mode2.dat',
  24. 'ElphyExample_Mode3.dat',
  25. ]
  26. files_to_download = files_to_test
  27. if __name__ == "__main__":
  28. unittest.main()