[Checkins] SVN: z3c.recipe.i18n/trunk/ Using python's `doctest` module instead of deprecated `zope.testing.doctest`.
Michael Howitz
mh at gocept.com
Thu Sep 2 02:31:14 EDT 2010
Log message for revision 116124:
Using python's `doctest` module instead of deprecated `zope.testing.doctest`.
Changed:
U z3c.recipe.i18n/trunk/CHANGES.txt
U z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py
-=-
Modified: z3c.recipe.i18n/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.i18n/trunk/CHANGES.txt 2010-09-02 06:26:51 UTC (rev 116123)
+++ z3c.recipe.i18n/trunk/CHANGES.txt 2010-09-02 06:31:13 UTC (rev 116124)
@@ -5,7 +5,8 @@
0.7.1 (unreleased)
------------------
-- Nothing changed yet.
+- Using python's `doctest` module instead of deprecated
+ `zope.testing.doctest`.
0.7.0 (2010-02-18)
Modified: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py
===================================================================
--- z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py 2010-09-02 06:26:51 UTC (rev 116123)
+++ z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py 2010-09-02 06:31:13 UTC (rev 116124)
@@ -12,11 +12,10 @@
#
##############################################################################
+from zope.testing import renormalizing
+import doctest
import re
-
import unittest
-from zope.testing import doctest, renormalizing
-
import zc.buildout.testing
@@ -108,7 +107,3 @@
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
checker=checker),
)
-
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
More information about the checkins
mailing list