[Zodb-checkins] CVS: Zope/lib/python/BTrees/tests - testBTrees.py:1.14.36.3
Jeffrey P Shell
jeffrey@zope.com
Wed, 8 Aug 2001 15:33:33 -0400
Update of /cvs-repository/Zope/lib/python/BTrees/tests
In directory cvs.zope.org:/tmp/cvs-serv584
Modified Files:
Tag: Zope-2_4-branch
testBTrees.py
Log Message:
Now that unittest.py is removed from the 2.4 branch, unittest import
trickery can be removed (based on similar changes in the HEAD).
=== Zope/lib/python/BTrees/tests/testBTrees.py 1.14.36.2 => 1.14.36.3 ===
from BTrees.IIBTree import IIBTree, IIBucket, IISet, IITreeSet
from BTrees.OIBTree import OIBTree, OIBucket, OISet, OITreeSet
-try:
- from unittest import VerboseTextTestRunner
- TextTestRunner = VerboseTextTestRunner
-except ImportError, NameError:
- from unittest import TextTestRunner
-from unittest import TestCase, TestSuite, makeSuite
+from unittest import TestCase, TestSuite, TextTestRunner, makeSuite
from glob import glob
import os
@@ -822,7 +817,7 @@
def main():
alltests=test_suite()
- runner = TextTestRunner()
+ runner = TextTestRunner(verbosity=2)
runner.run(alltests)
def debug():