[Zope3-checkins] SVN: zope.testing/branches/regebro-py3-3rdtimelucky/src/zope/testing/doctest/__init__.py This should be in the testrunners doctest support.
Lennart Regebro
regebro at gmail.com
Mon Apr 26 17:32:35 EDT 2010
Log message for revision 111456:
This should be in the testrunners doctest support.
Changed:
U zope.testing/branches/regebro-py3-3rdtimelucky/src/zope/testing/doctest/__init__.py
-=-
Modified: zope.testing/branches/regebro-py3-3rdtimelucky/src/zope/testing/doctest/__init__.py
===================================================================
--- zope.testing/branches/regebro-py3-3rdtimelucky/src/zope/testing/doctest/__init__.py 2010-04-26 21:28:12 UTC (rev 111455)
+++ zope.testing/branches/regebro-py3-3rdtimelucky/src/zope/testing/doctest/__init__.py 2010-04-26 21:32:34 UTC (rev 111456)
@@ -187,11 +187,7 @@
doctest._load_testfile = _patched_load_testfile
-# Use a special exception for the test runner.
-from zope.testing.exceptions import DocTestFailureException
-doctest.DocTestCase.failureException = DocTestFailureException
-
# Patch to let the doctest have the globals of the testcase. This is slightly
# evil, but Zopes doctests did this, and if we change it everything breaks.
import unittest
More information about the Zope3-Checkins
mailing list