You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
587 B
29 lines
587 B
"""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 unittest
|
|
from test import support
|
|
from test.support import warnings_helper
|
|
|
|
with warnings_helper.check_warnings(
|
|
("The distutils package is deprecated", DeprecationWarning), quiet=True):
|
|
|
|
import distutils.tests
|
|
|
|
|
|
def load_tests(*_):
|
|
# used by unittest
|
|
return distutils.tests.test_suite()
|
|
|
|
|
|
def tearDownModule():
|
|
support.reap_children()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|