Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: e054f452bd9118def58c18aa295662c9845e1c89 authored by Georg Brandl on 29 September 2012, 07:44:17 UTC
Fix test_sys.test_implementation for final releases.
Tip revision: e054f45
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():
    test.support.run_unittest(distutils.tests.test_suite())
    test.support.reap_children()


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