[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/tests/functional.py use ndiff when diffing the output of a failed "functional" doctest

Fred L. Drake, Jr. fdrake at gmail.com
Thu Oct 7 14:39:11 EDT 2004


Log message for revision 27784:
  use ndiff when diffing the output of a failed "functional" doctest


Changed:
  U   Zope3/trunk/src/zope/app/tests/functional.py


-=-
Modified: Zope3/trunk/src/zope/app/tests/functional.py
===================================================================
--- Zope3/trunk/src/zope/app/tests/functional.py	2004-10-07 12:09:07 UTC (rev 27783)
+++ Zope3/trunk/src/zope/app/tests/functional.py	2004-10-07 18:39:11 UTC (rev 27784)
@@ -590,7 +590,7 @@
         FunctionalTestSetup().tearDown()
     kw['tearDown'] = tearDown
 
-    kw['optionflags'] = doctest.ELLIPSIS | doctest.REPORT_CDIFF
+    kw['optionflags'] = doctest.ELLIPSIS | doctest.REPORT_NDIFF
 
     return doctest.DocFileSuite(*paths, **kw)
 



More information about the Zope3-Checkins mailing list