summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_distutils.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-15 15:49:46 (GMT)
committerFred Drake <fdrake@acm.org>2004-06-15 15:49:46 (GMT)
commitbb7c14461d8c69a9ffd70ae012b28ad35a9f3e78 (patch)
treea6e53692c746123bae1830b8dc95df60036be7cc /Lib/test/test_distutils.py
parenta050171ee9e44697260cd5415310777dadb5555e (diff)
downloadcpython-bb7c14461d8c69a9ffd70ae012b28ad35a9f3e78.zip
cpython-bb7c14461d8c69a9ffd70ae012b28ad35a9f3e78.tar.gz
cpython-bb7c14461d8c69a9ffd70ae012b28ad35a9f3e78.tar.bz2
One unit test for distutils is not much, but is more than we had yesterday.
We need to write more; hopefully the barrier is a little lower now.
Diffstat (limited to 'Lib/test/test_distutils.py')
-rw-r--r--Lib/test/test_distutils.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/Lib/test/test_distutils.py b/Lib/test/test_distutils.py
new file mode 100644
index 0000000..fcd792d
--- /dev/null
+++ b/Lib/test/test_distutils.py
@@ -0,0 +1,17 @@
+"""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.test_support
+
+
+def test_main():
+ test.test_support.run_unittest(distutils.tests.test_suite())
+
+
+if __name__ == "__main__":
+ test_main()