Skip to content

Commit

Permalink
- Using Python's doctest module instead of depreacted ``zope.test…
Browse files Browse the repository at this point in the history
…ing.doctest``.
  • Loading branch information
Michael Howitz committed Oct 6, 2010
1 parent 55640eb commit e0f32cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ CHANGES
1.0.0 (unreleased)
------------------

- Nothing yet.
- Using Python's ``doctest`` module instead of depreacted
``zope.testing.doctest``.


0.9.1 (2010-06-22)
------------------
Expand Down
16 changes: 7 additions & 9 deletions src/z3c/rml/tests/test_pagetemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@
# FOR A PARTICULAR PURPOSE.
#
###############################################################################
"""Tests for the Book Documentation Module
"""Tests for the Book Documentation Module"""

$Id$
"""
__docformat__ = "reStructuredText"
import doctest
import unittest
from zope.testing import doctest


def test_suite():
return unittest.TestSuite((
doctest.DocFileSuite('../pagetemplate.txt',
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS),
))
return doctest.DocFileSuite(
'../pagetemplate.txt',
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS)

0 comments on commit e0f32cd

Please sign in to comment.