Commit 0c0cb2b2 authored by Jim Fulton's avatar Jim Fulton

The stdlib doctest.DocTestSuite is broken in such a way that you can't
repeat tests.  Provide an environment variable to use the doctest from
zope.testing.
parent 7b42614c
...@@ -13,7 +13,10 @@ ...@@ -13,7 +13,10 @@
############################################################################## ##############################################################################
import cPickle import cPickle
import doctest import doctest
import os, unittest import os
if os.environ.get('USE_ZOPE_TESTING_DOCTEST'):
from zope.testing import doctest
import unittest
import transaction import transaction
import ZODB.FileStorage import ZODB.FileStorage
import ZODB.tests.hexstorage import ZODB.tests.hexstorage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment