summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorPhillip J. Eby <pje@telecommunity.com>2006-04-18 04:05:34 (GMT)
committerPhillip J. Eby <pje@telecommunity.com>2006-04-18 04:05:34 (GMT)
commit069159b11390d2827380cd3bf9a90d4ff57527a0 (patch)
tree68b7af33b6aecb062376dddd6117adffa6d16533 /Lib/test
parente247e898464f421a8b9d41ef74aaaf6137876ebb (diff)
downloadcpython-069159b11390d2827380cd3bf9a90d4ff57527a0.zip
cpython-069159b11390d2827380cd3bf9a90d4ff57527a0.tar.gz
cpython-069159b11390d2827380cd3bf9a90d4ff57527a0.tar.bz2
Initial import of setuptools, with integrated tests.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_setuptools.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/Lib/test/test_setuptools.py b/Lib/test/test_setuptools.py
new file mode 100644
index 0000000..a988303
--- /dev/null
+++ b/Lib/test/test_setuptools.py
@@ -0,0 +1,16 @@
+"""Tests for setuptools.
+
+The tests for setuptools are defined in the setuptools.tests package;
+this runs them from there.
+"""
+
+import test.test_support
+from setuptools.command.test import ScanningLoader
+
+def test_main():
+ test.test_support.run_suite(
+ ScanningLoader().loadTestsFromName('setuptools.tests')
+ )
+
+if __name__ == "__main__":
+ test_main()