def test__repr(self):
        for i, signal in enumerate(self.signals):
            prepr = repr(signal)
            targ = '<AnalogSignal(%s, [%s, %s], sampling rate: %s)>' % \
                (repr(self.data[i]),
                 self.t_start[i],
                 self.t_start[i] + len(self.data[i])/self.rates[i],
                 self.rates[i])
            self.assertEqual(prepr, targ)
dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/test/coretest/test_analogsignal.py/TestAnalogSignalProperties.test__repr/original