[Checkins] SVN: z3c.recipe.eggbasket/trunk/ Using python's `doctest` module instead of deprecated

Michael Howitz mh at gocept.com
Mon Aug 30 04:17:42 EDT 2010


Log message for revision 116017:
   Using python's `doctest` module instead of deprecated
    `zope.testing.doctest`.
  

Changed:
  U   z3c.recipe.eggbasket/trunk/CHANGES.txt
  U   z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/tests/test_docs.py

-=-
Modified: z3c.recipe.eggbasket/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.eggbasket/trunk/CHANGES.txt	2010-08-30 08:15:54 UTC (rev 116016)
+++ z3c.recipe.eggbasket/trunk/CHANGES.txt	2010-08-30 08:17:41 UTC (rev 116017)
@@ -8,7 +8,10 @@
 
 - Added missing `zope.testing` test dependency as a test extra.
 
+- Using python's `doctest` module instead of deprecated
+  `zope.testing.doctest`.
 
+
 0.4.3 (2009-09-15)
 ==================
 

Modified: z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/tests/test_docs.py
===================================================================
--- z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/tests/test_docs.py	2010-08-30 08:15:54 UTC (rev 116016)
+++ z3c.recipe.eggbasket/trunk/z3c/recipe/eggbasket/tests/test_docs.py	2010-08-30 08:17:41 UTC (rev 116017)
@@ -4,11 +4,12 @@
 """
 __docformat__ = 'restructuredtext'
 
+import doctest
 import unittest
+import zc.buildout.testing
 import zc.buildout.tests
-import zc.buildout.testing
 
-from zope.testing import doctest, renormalizing
+from zope.testing import renormalizing
 
 optionflags =  (doctest.ELLIPSIS |
                 doctest.NORMALIZE_WHITESPACE)



More information about the checkins mailing list