test_igorio.py 517 B

1234567891011121314151617181920212223242526
  1. """
  2. Tests of neo.io.igorproio
  3. """
  4. import unittest
  5. try:
  6. import igor
  7. HAVE_IGOR = True
  8. except ImportError:
  9. HAVE_IGOR = False
  10. from neo.io.igorproio import IgorIO
  11. from neo.test.iotest.common_io_test import BaseTestIO
  12. @unittest.skipUnless(HAVE_IGOR, "requires igor")
  13. class TestIgorIO(BaseTestIO, unittest.TestCase):
  14. ioclass = IgorIO
  15. files_to_test = ['mac-version2.ibw',
  16. 'win-version2.ibw']
  17. files_to_download = files_to_test
  18. if __name__ == "__main__":
  19. unittest.main()