[TIP] upgrade to coverage 3.1 gives new message (nosexunit requires coverage==2.85)
markwaite at yahoo.com
Mon Oct 5 19:08:14 PDT 2009
> From: Kumar McMillan <kumar.mcmillan at gmail.com>
> To: Mark Waite <markwaite at yahoo.com>
> Cc: Testing In Python <tip at lists.idyll.org>
> Sent: Mon, October 5, 2009 1:02:52 PM
> Subject: Re: [TIP] upgrade to coverage 3.1 gives new message (nosexunit requires coverage==2.85)
> On Mon, Oct 5, 2009 at 9:30 AM, Mark Waite <markwaite at yahoo.com> wrote:
> > On two of my Debian systems, I installed / upgraded to coverage 3.1. After
> > that change, the nosexunit plugin now complains each time I run nosetests
> > from the command line.
> > The complaint says:
> > RuntimeWarning: Unable to load plugin nosexunit = ...
> > Requirement.parse('coverage==2.85')
> > Is there a simple way for me to avoid this run time warning (edit a file in
> > the nosexunit plugin, or something else)?
> You can probably just remove your old nosexunit egg altogether since
> xunit output is now built into nose:
Thanks very much. I ran easy_install -m nosexunit, then removed the
two versions of nosexunit which I had installed. Now the warning is
gone. Thanks a bunch!
> > The warning does not appear to harm the functionality I need. nose
> > generates the nosetests.xml file, and coverage generates the coverage.xml
> > file when called.
> My guess here is that you actually are not even using nosexunit then.
You're right! Thanks for the suggestion.
More information about the testing-in-python