/usr/lib/python2.7/dist-packages/neo/test/iotest/test_asciispiketrainio.py is in python-neo 0.3.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # -*- coding: utf-8 -*-
"""
Tests of neo.io.asciispiketrainio
"""
# needed for python 3 compatibility
from __future__ import absolute_import, division
try:
import unittest2 as unittest
except ImportError:
import unittest
from neo.io import AsciiSpikeTrainIO
from neo.test.iotest.common_io_test import BaseTestIO
class TestAsciiSpikeTrainIO(BaseTestIO, unittest.TestCase, ):
ioclass = AsciiSpikeTrainIO
files_to_download = ['File_ascii_spiketrain_1.txt']
files_to_test = files_to_download
if __name__ == "__main__":
unittest.main()
|