Commit 7b42614c 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 b4b93e99
...@@ -22,7 +22,12 @@ from ZODB.tests import ( ...@@ -22,7 +22,12 @@ from ZODB.tests import (
StorageTestBase, StorageTestBase,
Synchronization, Synchronization,
) )
import doctest
import os
if os.environ.get('USE_ZOPE_TESTING_DOCTEST'):
from zope.testing import doctest
else:
import doctest
import random import random
import transaction import transaction
import unittest import unittest
......
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