diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2011-08-10 19:06:48 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-08-16 10:44:29 -0600 |
commit | b0c1f6b67ecd5cf865cf6945bff632f81473b81a (patch) | |
tree | 97debdbb7c4b173d9f2d988bcd841dc5beeebcbb /numpy/testing/utils.py | |
parent | 5cf0a07396b88b48b6f8a922fe8b1147406cb4bc (diff) | |
download | numpy-b0c1f6b67ecd5cf865cf6945bff632f81473b81a.tar.gz |
ENH: refactor of docteset plugin management
We previously had a baroque inheritance scheme to deal with the case
where the user had normal nose doctests enabled in their environment.
However, this scheme didn't deal with bench() routine, and was
complicated. This commit uses a null Unplugger plugin to pull the
doctest plugin off the nose configuration after it has been initialized.
We can use this for bench() and test(), and it allows the doctest module
to be enabled (by the user environment) and then thrown away.
Also rejigged the docstrings and removed the automated docstring
addition as the docstrings have already been copied and adapted in the
code.
Diffstat (limited to 'numpy/testing/utils.py')
0 files changed, 0 insertions, 0 deletions