Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope-container
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
zope-container
Commits
51c0d030
Commit
51c0d030
authored
Apr 30, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer the standard libraries doctest module to the one from zope.testing.
parent
2933bd4a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
9 deletions
+19
-9
CHANGES.txt
CHANGES.txt
+4
-2
src/zope/container/tests/test_btree.py
src/zope/container/tests/test_btree.py
+1
-1
src/zope/container/tests/test_constraints.py
src/zope/container/tests/test_constraints.py
+3
-1
src/zope/container/tests/test_contained.py
src/zope/container/tests/test_contained.py
+4
-2
src/zope/container/tests/test_directory.py
src/zope/container/tests/test_directory.py
+4
-2
src/zope/container/tests/test_ordered.py
src/zope/container/tests/test_ordered.py
+3
-1
No files found.
CHANGES.txt
View file @
51c0d030
...
...
@@ -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.
-
n
ever fail if the suggested name is in a wrong type (#227617)
-
N
ever 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)
-------------------
...
...
src/zope/container/tests/test_btree.py
View file @
51c0d030
...
...
@@ -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
...
...
src/zope/container/tests/test_constraints.py
View file @
51c0d030
...
...
@@ -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'
)
...
...
src/zope/container/tests/test_contained.py
View file @
51c0d030
...
...
@@ -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
...
...
src/zope/container/tests/test_directory.py
View file @
51c0d030
...
...
@@ -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
...
...
src/zope/container/tests/test_ordered.py
View file @
51c0d030
...
...
@@ -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::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment