1"""Tests for distutils.
2
3The tests for distutils are defined in the distutils.tests package;
4the test_suite() function there returns a test suite that's ready to
5be run.
6"""
7
8import distutils.tests
9import test.support
10
11
12def test_main():
13    # used by regrtest
14    test.support.run_unittest(distutils.tests.test_suite())
15    test.support.reap_children()
16
17
18def load_tests(*_):
19    # used by unittest
20    return distutils.tests.test_suite()
21
22
23if __name__ == "__main__":
24    test_main()
25