[MRG] fix failing assert_raises_regexp

Got a test failure in Python 2.6, let's see if this fixes it.