[Checkins] SVN: z3c.testing/trunk/ Avoid depreacted `zope.testing.doctest` by using python's `doctest`.

Michael Howitz mh at gocept.com
Mon Jul 12 02:56:57 EDT 2010


Log message for revision 114625:
  Avoid depreacted `zope.testing.doctest` by using python's `doctest`.
  
  

Changed:
  U   z3c.testing/trunk/CHANGES.txt
  U   z3c.testing/trunk/src/z3c/testing/generation.py

-=-
Modified: z3c.testing/trunk/CHANGES.txt
===================================================================
--- z3c.testing/trunk/CHANGES.txt	2010-07-12 06:51:27 UTC (rev 114624)
+++ z3c.testing/trunk/CHANGES.txt	2010-07-12 06:56:57 UTC (rev 114625)
@@ -11,7 +11,9 @@
   - ``pos`` provide the positional arguments here
   - ``kws`` provide the keyword arguments here
 
+- Avoid depreacted `zope.testing.doctest` by using python's `doctest`.
 
+
 0.3.1 (2009-12-26)
 ------------------
 

Modified: z3c.testing/trunk/src/z3c/testing/generation.py
===================================================================
--- z3c.testing/trunk/src/z3c/testing/generation.py	2010-07-12 06:51:27 UTC (rev 114624)
+++ z3c.testing/trunk/src/z3c/testing/generation.py	2010-07-12 06:56:57 UTC (rev 114625)
@@ -13,7 +13,7 @@
 from ZODB.DB import DB
 from ZODB.DemoStorage import DemoStorage
 
-from zope.testing import doctest
+import doctest
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.testing import setup
 from zope.site.folder import rootFolder



More information about the checkins mailing list