Michael Foord | 2560e5c | 2010-03-27 12:34:21 +0000 | [diff] [blame^] | 1 | import unittest.test |
Jim Fulton | fafd874 | 2004-08-28 15:22:12 +0000 | [diff] [blame] | 2 | |
Benjamin Peterson | ee8712c | 2008-05-20 21:35:26 +0000 | [diff] [blame] | 3 | from test import support |
Benjamin Peterson | 847a411 | 2010-03-14 15:04:17 +0000 | [diff] [blame] | 4 | |
Jim Fulton | fafd874 | 2004-08-28 15:22:12 +0000 | [diff] [blame] | 5 | |
6 | def test_main(): | ||||
Michael Foord | 2560e5c | 2010-03-27 12:34:21 +0000 | [diff] [blame^] | 7 | support.run_unittest(unittest.test.test_suite()) |
8 | support.reap_children() | ||||
9 | |||||
Jim Fulton | fafd874 | 2004-08-28 15:22:12 +0000 | [diff] [blame] | 10 | |
Guido van Rossum | d8faa36 | 2007-04-27 19:54:29 +0000 | [diff] [blame] | 11 | if __name__ == "__main__": |
Jim Fulton | fafd874 | 2004-08-28 15:22:12 +0000 | [diff] [blame] | 12 | test_main() |