def test_illegal_event_id():
 (raw, events, picks) = _get_data()
 event_id_illegal = dict(aud_l=1, does_not_exist=12345678)
 assert_raises(ValueError, Epochs, raw, events, event_id_illegal, tmin, tmax, picks=picks, proj=False)

def test_illegal_event_id ( ) : ( raw , events , picks ) = _get_data ( ) event_id_illegal = dict ( aud_l = 1 , does_not_exist = 12345678 ) assert_raises ( ValueError , Epochs , raw , events , event_id_illegal , tmin , tmax , picks = picks , proj = False )
test handling of invalid events ids .