[Checkins] SVN: z3c.profiler/trunk/ Using python's ``doctest`` module instead of deprecated ``zope.testing.doctest``.

Michael Howitz mh at gocept.com
Wed Aug 11 02:13:34 EDT 2010


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

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

-=-
Modified: z3c.profiler/trunk/CHANGES.txt
===================================================================
--- z3c.profiler/trunk/CHANGES.txt	2010-08-11 06:08:37 UTC (rev 115620)
+++ z3c.profiler/trunk/CHANGES.txt	2010-08-11 06:13:33 UTC (rev 115621)
@@ -5,7 +5,8 @@
 0.9.1 (unreleased)
 ------------------
 
-- Nothing changed yet.
+- Using python's ``doctest`` module instead of deprecated
+  ``zope.testing.doctest``.
 
 
 0.9.0 (2009-12-26)

Modified: z3c.profiler/trunk/src/z3c/profiler/tests.py
===================================================================
--- z3c.profiler/trunk/src/z3c/profiler/tests.py	2010-08-11 06:08:37 UTC (rev 115620)
+++ z3c.profiler/trunk/src/z3c/profiler/tests.py	2010-08-11 06:13:33 UTC (rev 115621)
@@ -11,18 +11,13 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-"""z3c.profiler Test Module
+"""z3c.profiler Test Module"""
 
-$Id:$
-"""
-__docformat__ = "reStructuredText"
-
+from z3c.profiler import testing
+import doctest
 import unittest
-from zope.testing import doctest
 
-from z3c.profiler import testing
 
-
 def test_suite():
     suites = []
     append = suites.append



More information about the checkins mailing list