nilearn/nilearn — pull request #319 by lesteve (2014-12-15 09:03:52+00:00)
Title: Add assert_raises_regexp in nilearn._utils.testing

to ensure compatibility with Python 2.6 since unitest assertRaisesRegexp, and thus nose.tools.assert_raises_regexp, appeared in 2.7.

Also:
* move assert_warns to nilearn._utils.testing
* amended tests that were meant to use assert_raises_regexp but didn't for backward-compatibility reasons