[TIP] upgrade to coverage 3.1 gives new message (nosexunit requires coverage==2.85)

Kumar McMillan kumar.mcmillan at gmail.com
Mon Oct 5 12:02:52 PDT 2009

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:

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

> Thanks,
> Mark Waite
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

More information about the testing-in-python mailing list