Revision: 7645
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7645&view=rev
Author: astraw
Date: 2009-09-06 01:42:52 +0000 (Sun, 06 Sep 2009)
Log Message:
-----------
testing: workaround issue with nose testing's ZeroNinePlugin
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/testing/noseclasses.py
Modified: trunk/matplotlib/lib/matplotlib/testing/noseclasses.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/testing/noseclasses.py 2009-09-06
01:42:43 UTC (rev 7644)
+++ trunk/matplotlib/lib/matplotlib/testing/noseclasses.py 2009-09-06
01:42:52 UTC (rev 7645)
@@ -38,8 +38,15 @@
if disable:
self.enabled = False
- def addError( self, test, err ):
+ def addError( self, test, err, *zero_nine_capt_args ):
# Fixme (Really weird): if I don't leave empty method here,
# nose gets confused and KnownFails become testing errors when
# using the MplNosePlugin and MplTestCase.
+
+ # The *zero_nine_capt_args captures an extra argument. There
+ # seems to be a bug in
+ # nose.testing.manager.ZeroNinePlugin.addError() in which a
+ # 3rd positional argument ("capt") is passed to the plugin's
+ # addError() method, even if one is not explicitly using the
+ # ZeroNinePlugin.
pass
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins