Do not use assertIn since it is not supported on Python 2.6.