Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Kirill Smelkov
ZEO
Commits
a69fbb25
Commit
a69fbb25
authored
Aug 06, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for unittest from Python 2.1 standard library
parent
28f68a2a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/BTrees/tests/testConflict.py
src/BTrees/tests/testConflict.py
+2
-4
No files found.
src/BTrees/tests/testConflict.py
View file @
a69fbb25
...
@@ -95,9 +95,7 @@ from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
...
@@ -95,9 +95,7 @@ from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
from
BTrees.IOBTree
import
IOBTree
,
IOBucket
,
IOSet
,
IOTreeSet
from
BTrees.IOBTree
import
IOBTree
,
IOBucket
,
IOSet
,
IOTreeSet
from
BTrees.IIBTree
import
IIBTree
,
IIBucket
,
IISet
,
IITreeSet
from
BTrees.IIBTree
import
IIBTree
,
IIBucket
,
IISet
,
IITreeSet
from
BTrees.OIBTree
import
OIBTree
,
OIBucket
,
OISet
,
OITreeSet
from
BTrees.OIBTree
import
OIBTree
,
OIBucket
,
OISet
,
OITreeSet
from
unittest
import
TestCase
,
TestSuite
,
VerboseTextTestRunner
,
makeSuite
from
unittest
import
TestCase
,
TestSuite
,
TextTestRunner
,
makeSuite
TextTestRunner
=
VerboseTextTestRunner
class
Base
:
class
Base
:
""" Tests common to all types: sets, buckets, and BTrees """
""" Tests common to all types: sets, buckets, and BTrees """
...
@@ -507,7 +505,7 @@ def test_suite():
...
@@ -507,7 +505,7 @@ def test_suite():
def
main
():
def
main
():
alltests
=
test_suite
()
alltests
=
test_suite
()
runner
=
TextTestRunner
()
runner
=
TextTestRunner
(
verbosity
=
2
)
runner
.
run
(
alltests
)
runner
.
run
(
alltests
)
def
debug
():
def
debug
():
...
...
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