def test_base_epochs():
 raw = _get_data()[0]
 epochs = BaseEpochs(raw.info, None, np.ones((1, 3), int), event_id, tmin, tmax)
 assert_raises(NotImplementedError, epochs.get_data)
 assert_raises(ValueError, BaseEpochs, raw.info, None, np.ones((1, 3), float), event_id, tmin, tmax)
 assert_raises(ValueError, BaseEpochs, raw.info, None, np.ones((1, 3, 2), int), event_id, tmin, tmax)

def test_base_epochs ( ) : raw = _get_data ( ) [ 0 ] epochs = BaseEpochs ( raw . info , None , np . ones ( ( 1 , 3 ) , int ) , event_id , tmin , tmax ) assert_raises ( NotImplementedError , epochs . get_data ) assert_raises ( ValueError , BaseEpochs , raw . info , None , np . ones ( ( 1 , 3 ) , float ) , event_id , tmin , tmax ) assert_raises ( ValueError , BaseEpochs , raw . info , None , np . ones ( ( 1 , 3 , 2 ) , int ) , event_id , tmin , tmax )
test base epochs class .