Commit 51c0d030 authored by Hanno Schlichting's avatar Hanno Schlichting

Prefer the standard libraries doctest module to the one from zope.testing.

parent 2933bd4a
......@@ -5,13 +5,15 @@ CHANGES
3.11.1 (unreleased)
-------------------
- Prefer the standard libraries doctest module to the one from zope.testing.
- Added compatibility with ZODB3 3.10 by importing the IBroken interface from
it directly. Once we can rely on the new ZODB3 version exclusively, we can
remove the dependency onto the zope.broken distribution.
- never fail if the suggested name is in a wrong type (#227617)
- Never fail if the suggested name is in a wrong type (#227617)
- checkName first checks the parameter type before the emptiness
- ``checkName`` first checks the parameter type before the emptiness.
3.11.0 (2009-12-31)
-------------------
......
......@@ -15,9 +15,9 @@
$Id$
"""
from doctest import DocTestSuite
from unittest import TestCase, main, makeSuite, TestSuite
from zope.interface.verify import verifyObject
from zope.testing.doctest import DocTestSuite
from zope.component.testing import setUp, tearDown
from zope.container.tests.test_icontainer import TestSampleContainer
from zope.container.btree import BTreeContainer
......
......@@ -15,8 +15,10 @@
$Id$
"""
import doctest
import unittest
from zope.testing import doctest, module
from zope.testing import module
def setUp(test):
module.setUp(test, 'zope.container.constraints_txt')
......
......@@ -15,8 +15,11 @@
$Id$
"""
import unittest
import doctest
import gc
import unittest
from ZODB.DemoStorage import DemoStorage
from ZODB.DB import DB
import transaction
......@@ -24,7 +27,6 @@ from persistent import Persistent
import zope.interface
import zope.component
from zope.testing import doctest
from zope.container.contained import ContainedProxy, NameChooser
from zope.container.sample import SampleContainer
......
......@@ -15,12 +15,14 @@
$Id$
"""
import doctest
from unittest import TestCase, TestSuite, main, makeSuite
from zope.testing import doctest
from zope.container import testing
from zope.container import testing
import zope.container.directory
class Directory(object):
pass
......
......@@ -16,10 +16,12 @@
$Id$
"""
import unittest
from zope.testing.doctest import DocTestSuite
from doctest import DocTestSuite
from zope.component.eventtesting import getEvents, clearEvents
from zope.container import testing
def test_order_events():
"""
Prepare the setup::
......
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