BUG: assert_raises_regexp for Py2.6 compatibility