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_asciispiketrainio.py 562 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. """
  3. Tests of neo.io.asciispiketrainio
  4. """
  5. # needed for python 3 compatibility
  6. from __future__ import absolute_import, division
  7. try:
  8. import unittest2 as unittest
  9. except ImportError:
  10. import unittest
  11. from neo.io import AsciiSpikeTrainIO
  12. from neo.test.iotest.common_io_test import BaseTestIO
  13. class TestAsciiSpikeTrainIO(BaseTestIO, unittest.TestCase, ):
  14. ioclass = AsciiSpikeTrainIO
  15. files_to_download = ['File_ascii_spiketrain_1.txt']
  16. files_to_test = files_to_download
  17. if __name__ == "__main__":
  18. unittest.main()