[tor-commits] [stem/master] Add assertRaisesWith testing helper