[Checkins] SVN: zope.hookable/trunk/ Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.

Tres Seaver tseaver at palladion.com
Fri Apr 16 15:16:34 EDT 2010


Log message for revision 110996:
  Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
  

Changed:
  U   zope.hookable/trunk/CHANGES.txt
  U   zope.hookable/trunk/src/zope/hookable/tests/test_hookable.py

-=-
Modified: zope.hookable/trunk/CHANGES.txt
===================================================================
--- zope.hookable/trunk/CHANGES.txt	2010-04-16 19:14:05 UTC (rev 110995)
+++ zope.hookable/trunk/CHANGES.txt	2010-04-16 19:16:33 UTC (rev 110996)
@@ -4,7 +4,7 @@
 3.4.2 (unreleased)
 ------------------
 
-- ...
+- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
 
 3.4.1 (2009-04-05)
 ------------------

Modified: zope.hookable/trunk/src/zope/hookable/tests/test_hookable.py
===================================================================
--- zope.hookable/trunk/src/zope/hookable/tests/test_hookable.py	2010-04-16 19:14:05 UTC (rev 110995)
+++ zope.hookable/trunk/src/zope/hookable/tests/test_hookable.py	2010-04-16 19:16:33 UTC (rev 110996)
@@ -16,14 +16,13 @@
 $Id$
 """
 
-from zope.testing.doctest import ELLIPSIS
-from zope.testing.doctest import IGNORE_EXCEPTION_DETAIL
-from zope.testing.doctestunit import DocTestSuite
+import doctest
 
 def test_suite():
-    return DocTestSuite('zope.hookable',
-                        optionflags=ELLIPSIS|IGNORE_EXCEPTION_DETAIL,
-                       )
+    return doctest.DocTestSuite('zope.hookable',
+                                optionflags=doctest.ELLIPSIS |
+                                            doctest.IGNORE_EXCEPTION_DETAIL,
+                               )
 
 if __name__ == '__main__':
     import unittest



More information about the checkins mailing list