BF - allow nose with-doctest setting in environment #683

Closed
wants to merge 1 commit into from

2 participants

@matthew-brett

IPDoctest replaces the normal doctest plugin. Previously we did this by
initializing the builtin plugins but skipping the doctest plugin.
However, if the user has a noserc file with 'with-doctest=1' or the
environment variable 'NOSE_WITH_DOCTEST', then nose will try and
initialize the doctest plugin when it isn't there, and barf. This
commit defers the removal of the doctest plugin to the configuration
stage, so doctest can be enabled before it is thrown away by us.

@matthew-brett matthew-brett BF - allow nose with-doctest setting in environment
IPDoctest replaces the normal doctest plugin.  Previously we did this by
initializing the builtin plugins but skipping the doctest plugin.
However, if the user has a noserc file with 'with-doctest=1' or the
environment variable 'NOSE_WITH_DOCTEST', then nose will try and
initialize the doctest plugin when it isn't there, and barf.  This
commit defers the removal of the doctest plugin to the configuration
stage, so doctest can be enabled before it is thrown away by us.
718b2d2
@fperez
IPython member

Great, thanks! Pushed (with a rebase to avoid the merge handle for a single commit.)

@fperez fperez closed this Aug 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment