mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00

svn+ssh://pythondev@svn.python.org/python/trunk ........ r79191 | florent.xicluna | 2010-03-21 13:50:17 +0200 (Sun, 21 Mar 2010) | 3 lines No more deprecation warnings for distutils.sysconfig, following r78666. But when the "dl" module is available, it gives a py3k deprecation warning. ........
18 lines
385 B
Python
18 lines
385 B
Python
"""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.
|
|
"""
|
|
|
|
from test import test_support
|
|
import distutils.tests
|
|
|
|
|
|
def test_main():
|
|
test_support.run_unittest(distutils.tests.test_suite())
|
|
test_support.reap_children()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
test_main()
|