ipython/ipython — pull request #1895 by takluyver (2012-06-10 15:27:07+00:00)
Title: Fix error in test suite with ip.system()

As discussed in #1878. Another case of looking the wrong depth through the stack.

There's still some other problem with the doctesting machinery - `a` should be turning up in the user namespace in this test, but it isn't. I've tried to understand the code to run doctests before, though, and it gives me a headache.