python 2.6 doesn't support assertIsNotNone