[Checkins] SVN: z3c.wizard/trunk/ - Using Python's ``doctest`` module instead of depreacted

Michael Howitz mh at gocept.com
Thu Nov 11 02:55:55 EST 2010


Log message for revision 118336:
  - Using Python's ``doctest`` module instead of depreacted
    ``zope.testing.doctest``.
  

Changed:
  U   z3c.wizard/trunk/CHANGES.txt
  U   z3c.wizard/trunk/src/z3c/wizard/tests.py

-=-
Modified: z3c.wizard/trunk/CHANGES.txt
===================================================================
--- z3c.wizard/trunk/CHANGES.txt	2010-11-11 07:50:38 UTC (rev 118335)
+++ z3c.wizard/trunk/CHANGES.txt	2010-11-11 07:55:54 UTC (rev 118336)
@@ -5,9 +5,9 @@
 0.9.1 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Using Python's ``doctest`` module instead of depreacted
+  ``zope.testing.doctest``.
 
-
 0.9.0 (2009-12-29)
 ------------------
 

Modified: z3c.wizard/trunk/src/z3c/wizard/tests.py
===================================================================
--- z3c.wizard/trunk/src/z3c/wizard/tests.py	2010-11-11 07:50:38 UTC (rev 118335)
+++ z3c.wizard/trunk/src/z3c/wizard/tests.py	2010-11-11 07:55:54 UTC (rev 118336)
@@ -11,15 +11,12 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""Wizard button actions implementation
-$Id:$
-"""
-__docformat__ = "reStructuredText"
+"""Wizard button actions implementation."""
 
+from zope.publisher.browser import TestRequest
+import doctest
 import unittest
 import zope.interface
-from zope.testing import doctest
-from zope.publisher.browser import TestRequest
 
 import z3c.testing
 from z3c.wizard import interfaces



More information about the checkins mailing list