Make sure importing ipdoctest does NOT start an ipython instance

Bug #409096 reported by Fernando Perez on 2009-08-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
Fernando Perez

Bug Description

Currently, ipdoctest has a special function called start_ipython() that starts an ipython instance globally. This is called unconditionally upon import of ipdoctest, and it is done this way because I was never able to debug exactly why if I tried to defer this call until later, the test suite had problems.

But ultimately this is a very nasty side effect, and indeed this global ipython was masking issues with other code because it would not show hidden dependencies on a running ipython.

For 0.10 we'll leave it as-is, but after the reorganization this needs to be cleaned up for 0.11.

Related branches

Fernando Perez (fdo.perez) wrote :

Fix in my trunk-dev branch.

Changed in ipython:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers