Skip to content

Commit

Permalink
Use doctest instead of zope.app.testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jun 9, 2017
1 parent 7f232ee commit ca79f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/z3c/testing/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
$Id$
"""
import doctest
import unittest
import zope.interface
try:
from zope.app.testing import functional
from z3c.testing import layer
HAVE_FTEST = True
except ImportError:
Expand Down Expand Up @@ -75,9 +75,9 @@ def test_suite():
# Functional Tests
if HAVE_FTEST:
suites = (
functional.FunctionalDocFileSuite('BROWSER.txt'),
doctest.DocFileSuite('BROWSER.txt'),
# test setup/teardown by calling it twice
functional.FunctionalDocFileSuite('BROWSER.txt'),
doctest.DocFileSuite('BROWSER.txt'),
)
for s in suites:
s.layer=MyLayer
Expand Down

0 comments on commit ca79f79

Please sign in to comment.