Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
28f68a2a
Commit
28f68a2a
authored
Aug 06, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to use unittest from Python 2.1 standard library
VerboseTextTestRunner() => TestTestRunner(verbosity=2)
parent
830f5f87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/BTrees/tests/testBTrees.py
src/BTrees/tests/testBTrees.py
+2
-4
No files found.
src/BTrees/tests/testBTrees.py
View file @
28f68a2a
...
...
@@ -95,13 +95,11 @@ from BTrees.OOBTree import OOBTree, OOBucket, OOSet, OOTreeSet
from
BTrees.IOBTree
import
IOBTree
,
IOBucket
,
IOSet
,
IOTreeSet
from
BTrees.IIBTree
import
IIBTree
,
IIBucket
,
IISet
,
IITreeSet
from
BTrees.OIBTree
import
OIBTree
,
OIBucket
,
OISet
,
OITreeSet
from
unittest
import
TestCase
,
TestSuite
,
Verbose
TextTestRunner
,
makeSuite
from
unittest
import
TestCase
,
TestSuite
,
TextTestRunner
,
makeSuite
from
glob
import
glob
import
os
TextTestRunner
=
VerboseTextTestRunner
class
Base
:
""" Tests common to all types: sets, buckets, and BTrees """
def
tearDown
(
self
):
...
...
@@ -819,7 +817,7 @@ def test_suite():
def
main
():
alltests
=
test_suite
()
runner
=
TextTestRunner
()
runner
=
TextTestRunner
(
verbosity
=
2
)
runner
.
run
(
alltests
)
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