ipython/ipython — pull request #4632 by takluyver (2013-12-03 20:35:15+00:00)
Title: Restore the ability to run tests from a function.

I overlooked this when reworking the test suite, but @PhML pointed it out on #4320.