Commit dc490d66 authored by Jeremy Hylton's avatar Jeremy Hylton

Update for unittest from Python 2.1 standard library

parent aef5a0da
......@@ -95,9 +95,7 @@ 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
TextTestRunner = VerboseTextTestRunner
from unittest import TestCase, TestSuite, TextTestRunner, makeSuite
class Base:
""" Tests common to all types: sets, buckets, and BTrees """
......@@ -507,7 +505,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