Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 439c93d51f45c50541fc755b597725168ecd939a authored by Ɓukasz Langa on 11 August 2020, 17:14:36 UTC
Python 3.9.0rc1
Tip revision: 439c93d
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