assertIn fallback for py2.6/dj1.2