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 788 B

123456789101112131415161718192021222324252627282930313233
  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. import unittest
  9. try:
  10. from neo.io.elphyio import ElphyIO
  11. except ImportError:
  12. ElphyIO = None
  13. from neo.test.iotest.common_io_test import BaseTestIO
  14. # @unittest.skipIf(sys.version_info[0] > 2, "not Python 3 compatible")
  15. # @unittest.skip("ElphyIO not yet updated to the new API")
  16. class TestElphyIO(BaseTestIO, unittest.TestCase):
  17. ioclass = ElphyIO
  18. files_to_test = ['ElphyExample.DAT',
  19. 'ElphyExample_Mode1.dat',
  20. 'ElphyExample_Mode2.dat',
  21. 'ElphyExample_Mode3.dat',
  22. ]
  23. files_to_download = files_to_test
  24. if __name__ == "__main__":
  25. unittest.main()