Fix AssertRaises to work with 2.6