[tor-commits] [stem/master] Use assertRaisesRegexp to check exception messages