Python 2.6 `assertIn` backport