Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
lines ending with semicolon should not go to cache #307
Ah, I've found it. When you call ip.reset(), the execution counter is set to zero. If you do that inside IPython, run_cell increments the execution counter as it finishes, so the next prompt is number 1. But when you do it in the test suite, you do ip.reset() without run_cell(), so looking up the item in the history is out by one.
Of course, this means it passes depending on what tests are run before it.