2004-06-15 12:49:46 -03:00
|
|
|
"""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
|
2008-05-20 18:35:26 -03:00
|
|
|
import test.support
|
2004-06-15 12:49:46 -03:00
|
|
|
|
|
|
|
|
|
|
|
def test_main():
|
2020-01-27 08:08:39 -04:00
|
|
|
# used by regrtest
|
2008-05-20 18:35:26 -03:00
|
|
|
test.support.run_unittest(distutils.tests.test_suite())
|
2009-10-27 17:21:45 -03:00
|
|
|
test.support.reap_children()
|
2004-06-15 12:49:46 -03:00
|
|
|
|
|
|
|
|
2020-01-27 08:08:39 -04:00
|
|
|
def load_tests(*_):
|
|
|
|
# used by unittest
|
|
|
|
return distutils.tests.test_suite()
|
|
|
|
|
|
|
|
|
2004-06-15 12:49:46 -03:00
|
|
|
if __name__ == "__main__":
|
|
|
|
test_main()
|