def test_slices_overlap_wrong_mode():
 with pytest.raises(ValueError) as e:
  overlap_slices((5,), (3,), (0,), mode=u'full')
 assert (u'Mode can be only' in str(e.value))

def test_slices_overlap_wrong_mode ( ) : with pytest . raises ( ValueError ) as e : overlap_slices ( ( 5 , ) , ( 3 , ) , ( 0 , ) , mode = u'full' ) assert ( u'Mode can be only' in str ( e . value ) )
call overlap_slices with non-existing mode .