TestCase.assertRaises not a context manager until Python 2.7.