Commit 28f68a2a authored by Jeremy Hylton's avatar Jeremy Hylton

Update to use unittest from Python 2.1 standard library

VerboseTextTestRunner() => TestTestRunner(verbosity=2)
parent 830f5f87
......@@ -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, 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 test_suite():
def main():
alltests=test_suite()
runner = TextTestRunner()
runner = TextTestRunner(verbosity=2)
runner.run(alltests)
def debug():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment