Using "with" for assertRaises.