nose-devs/nose — Issue #269: Doctest plugin depends on concrete selector (testMatch)
Author: jpellerin
Created: 2011-12-14 16:06:07+00:00
State: open

In trunk r495, nose.plugins.doctests.Doctest depends on the concrete
nose.selector.Selector -- it knows about the testMatch regular expression,
rather than just about whether it matched. This makes it difficult to
replace the default selector.

I don't think the fact that config object shared between plugins exists is
a argument for it being a good thing that plugins depend on that concrete
data. At least where it becomes a problem, it should be fixed.

Doctest.matches() seems likely broken and should probably be removed as
part of this bug.

Google Code Info:
Issue #: 186
Author: j...@pobox.com
Created On: 2008-05-14T20:59:09.000Z
Closed On: