[Checkins] SVN: zc.ssl/trunk/ - Using Python's ``doctest`` module instead of deprecated
Michael Howitz
mh at gocept.com
Thu May 19 02:23:18 EDT 2011
Log message for revision 121722:
- Using Python's ``doctest`` module instead of deprecated
``zope.testing.doctest``.
Changed:
U zc.ssl/trunk/CHANGES.txt
U zc.ssl/trunk/src/zc/ssl/tests.py
-=-
Modified: zc.ssl/trunk/CHANGES.txt
===================================================================
--- zc.ssl/trunk/CHANGES.txt 2011-05-19 06:04:17 UTC (rev 121721)
+++ zc.ssl/trunk/CHANGES.txt 2011-05-19 06:23:18 UTC (rev 121722)
@@ -1,8 +1,10 @@
1.3 (Unreleased)
================
-- Nothing yet.
+- Using Python's ``doctest`` module instead of deprecated
+ ``zope.testing.doctest``.
+
1.2 (2010-04-07)
================
Modified: zc.ssl/trunk/src/zc/ssl/tests.py
===================================================================
--- zc.ssl/trunk/src/zc/ssl/tests.py 2011-05-19 06:04:17 UTC (rev 121721)
+++ zc.ssl/trunk/src/zc/ssl/tests.py 2011-05-19 06:23:18 UTC (rev 121722)
@@ -3,7 +3,7 @@
$Id$
"""
import unittest
-import zope.testing.doctest
+import doctest
class StubSSLWrapper(object):
@@ -23,9 +23,9 @@
def test_suite():
suite = unittest.TestSuite([
- zope.testing.doctest.DocFileSuite(
+ doctest.DocFileSuite(
'tests.txt',
- optionflags=zope.testing.doctest.ELLIPSIS),
+ optionflags=doctest.ELLIPSIS),
])
return suite
More information about the checkins
mailing list