nilearn/nilearn — pull request #243 by lesteve (2014-09-23 13:34:32+00:00)
Title: Add test for check_niimg with ensure_3d=True and a non 3d image as argument

In one of my old branch, I bumped into a bug that was actually fixed in master [here](
https://github.com/nilearn/nilearn/commit/3781b2beea3b031aa5fd16704c20de49887483cc).

On my way of fixing it again, I added a test to `check_niimg` and tweaked an error message. I thought I would do a pull request to justify wasting my time.