tests: 2.6 assertRaises fix