fix python2.6 missing assertIn()