blob: bf5a80d9b37b1102be3db1d4568b64010f1aa068 [file] [log] [blame]
Fred Drakebb7c1442004-06-15 15:49:46 +00001"""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.test_support
Ezio Melotti38a58002010-08-02 03:14:27 +000010import warnings
Fred Drakebb7c1442004-06-15 15:49:46 +000011
12
13def test_main():
Ezio Melotti38a58002010-08-02 03:14:27 +000014 with warnings.catch_warnings():
15 warnings.filterwarnings("ignore",
16 "distutils.sysconfig.\w+ is deprecated",
17 DeprecationWarning)
18 test.test_support.run_unittest(distutils.tests.test_suite())
Fred Drakebb7c1442004-06-15 15:49:46 +000019
20
21if __name__ == "__main__":
22 test_main()