Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4b37228823fecb73fe70dc009e696a7805b0833f authored by Ethan Furman on 08 December 2020, 22:29:02 UTC
[3.9] [Enum] reformat and add doc strings (GH-23705). (GH-23707)
Tip revision: 4b37228
test_distutils.py
"""Tests for distutils.

The tests for distutils are defined in the distutils.tests package;
the test_suite() function there returns a test suite that's ready to
be run.
"""

import distutils.tests
import test.support


def test_main():
    # used by regrtest
    test.support.run_unittest(distutils.tests.test_suite())
    test.support.reap_children()


def load_tests(*_):
    # used by unittest
    return distutils.tests.test_suite()


if __name__ == "__main__":
    test_main()
back to top