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_tdtio.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.tdtio
  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 TdtIO
  13. from neo.test.iotest.common_io_test import BaseTestIO
  14. @unittest.skipIf(sys.version_info[0] > 2, "not Python 3 compatible")
  15. class TestTdtIOIO(BaseTestIO, unittest.TestCase, ):
  16. ioclass = TdtIO
  17. files_to_test = ['aep_05']
  18. files_to_download = ['aep_05/Block-1/aep_05_Block-1.Tbk',
  19. 'aep_05/Block-1/aep_05_Block-1.Tdx',
  20. 'aep_05/Block-1/aep_05_Block-1.tev',
  21. 'aep_05/Block-1/aep_05_Block-1.tsq',
  22. #~ 'aep_05/Block-2/aep_05_Block-2.Tbk',
  23. #~ 'aep_05/Block-2/aep_05_Block-2.Tdx',
  24. #~ 'aep_05/Block-2/aep_05_Block-2.tev',
  25. #~ 'aep_05/Block-2/aep_05_Block-2.tsq',
  26. #~ 'aep_05/Block-3/aep_05_Block-3.Tbk',
  27. #~ 'aep_05/Block-3/aep_05_Block-3.Tdx',
  28. #~ 'aep_05/Block-3/aep_05_Block-3.tev',
  29. #~ 'aep_05/Block-3/aep_05_Block-3.tsq',
  30. ]
  31. if __name__ == "__main__":
  32. unittest.main()