[Numpy-discussion] Monkeypatching vs nose plugin?
Wed Jul 16 21:00:48 CDT 2008
On Wed, Jul 16, 2008 at 20:42, Fernando Perez <email@example.com> wrote:
> In working on the ipython testing machinery, I looked at the numpy
> nosetester.py file and found that it works by monkeypatching nose
> itself. I'm curious as to why this approach was taken rather than
> constructing a plugin object. In general, monkeypatching should be
> done as a last-resort trick, because it tends to be brittle and can
> cause bizarre problems to users who after running numpy.test() find
> that their normal nose-using code starts doing funny things.
> Any thoughts/insights?
Is there a way to do it programatically without requiring numpy to be
installed with setuptools?
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion