[Zodb-checkins] CVS: StandaloneZODB/BTrees/tests - testBTrees.py:1.17
Jeremy Hylton
jeremy@zope.com
Mon, 6 Aug 2001 16:43:00 -0400
Update of /cvs-repository/StandaloneZODB/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv10852
Modified Files:
testBTrees.py
Log Message:
Update to use unittest from Python 2.1 standard library
VerboseTextTestRunner() => TestTestRunner(verbosity=2)
=== StandaloneZODB/BTrees/tests/testBTrees.py 1.16 => 1.17 ===
from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
from BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
-from unittest import TestCase, TestSuite, VerboseTextTestRunner, 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 main():
alltests=test_suite()
- runner = TextTestRunner()
+ runner = TextTestRunner(verbosity=2)
runner.run(alltests)
def debug():