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

Michael Howitz mh at gocept.com
Sun Dec 12 11:25:32 EST 2010


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

Changed:
  U   zc.lockfile/trunk/CHANGES.txt
  U   zc.lockfile/trunk/src/zc/lockfile/tests.py

-=-
Modified: zc.lockfile/trunk/CHANGES.txt
===================================================================
--- zc.lockfile/trunk/CHANGES.txt	2010-12-12 16:24:37 UTC (rev 118838)
+++ zc.lockfile/trunk/CHANGES.txt	2010-12-12 16:25:32 UTC (rev 118839)
@@ -6,7 +6,10 @@
 
 - Added test extra to declare test dependency on ``zope.testing``.
 
+- Using Python's ``doctest`` module instead of depreacted
+  ``zope.testing.doctest``.
 
+
 1.0.0 (2008-10-18)
 ==================
 

Modified: zc.lockfile/trunk/src/zc/lockfile/tests.py
===================================================================
--- zc.lockfile/trunk/src/zc/lockfile/tests.py	2010-12-12 16:24:37 UTC (rev 118838)
+++ zc.lockfile/trunk/src/zc/lockfile/tests.py	2010-12-12 16:25:32 UTC (rev 118839)
@@ -11,12 +11,11 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-import os, sys, unittest
-from zope.testing import doctest, setupstack
-
+from zope.testing import setupstack
+import os, sys, unittest, doctest
 import zc.lockfile, time, threading
-    
 
+
 def inc():
     while 1:
         try:



More information about the checkins mailing list