Commit c1e22590 authored by Jim Fulton's avatar Jim Fulton

Added main() so we can test from Python prompt (gdb).

parent d0c552ac
......@@ -372,8 +372,10 @@ def lsubtract(l1, l2):
def realseq(itemsob):
return map(lambda x: x, itemsob)
if __name__ == '__main__':
def main():
testsuite = makeSuite(TestBTrees, 'test')
runner = TextTestRunner()
runner.run(testsuite)
if __name__ == '__main__': main()
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