#!/usr/bin/env python # Unit tests for the thread debugging code. import sys import unittest from test import test_support sys.path.append('..') import mthread, mpdb class TestThreadDebugging(unittest.TestCase): def testMthreadInit(self): m = mpdb.MPdb() mthread.init(m) def test_main(): test_support.run_unittest(TestThreadDebugging) if __name__ == '__main__': test_main()