| 1 | """Tests for distutils. |
| 2 | |
| 3 | The tests for distutils are defined in the distutils.tests package. |
| 4 | """ |
| 5 | |
| 6 | import unittest |
| 7 | from test import support |
| 8 | from test.support import warnings_helper |
| 9 | |
| 10 | with warnings_helper.check_warnings( |
| 11 | ("The distutils package is deprecated", DeprecationWarning), quiet=True): |
| 12 | |
| 13 | from distutils.tests import load_tests |
| 14 | |
| 15 | def tearDownModule(): |
| 16 | support.reap_children() |
| 17 | |
| 18 | if support.check_sanitizer(address=True): |
| 19 | raise unittest.SkipTest("Exposes ASAN flakiness in GitHub CI") |
| 20 | |
| 21 | if __name__ == "__main__": |
| 22 | unittest.main() |