assertRegexp for py2.6