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

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@matthew-brett
Contributor

matthew-brett commented Aug 7, 2011

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.

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.
@fperez

This comment has been minimized.

Show comment
Hide comment
@fperez

fperez Aug 16, 2011

Member

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

Member

fperez commented Aug 16, 2011

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