Skip to content

Commit

Permalink
zope.testing.doctest is long gone
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Nov 5, 2015
1 parent cfc4917 commit 14b021d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/z3c/currency/tests.py
Expand Up @@ -14,15 +14,16 @@
"""Currency Test Setup
"""
import unittest
from zope.testing import doctest
from zope.testing.doctestunit import DocFileSuite
import doctest


def test_suite():
return unittest.TestSuite((
DocFileSuite('README.txt',
optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS,
),
))
return unittest.TestSuite([
doctest.DocFileSuite(
'README.txt',
optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS,
),
])

if __name__ == '__main__':
unittest.main(defaultTest='test_suite')

0 comments on commit 14b021d

Please sign in to comment.