summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_install_scripts.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-25 19:04:21 (GMT)
committerFred Drake <fdrake@acm.org>2004-06-25 19:04:21 (GMT)
commit22021579a9266f537bed1fbbb9b5496c65362fa0 (patch)
treeadbb7e90f079a2c27717fa7fa9afcc569f6d5683 /Lib/distutils/tests/test_install_scripts.py
parent43ea47ff06295924c4f7512417370f988d1ea7da (diff)
downloadcpython-22021579a9266f537bed1fbbb9b5496c65362fa0.zip
cpython-22021579a9266f537bed1fbbb9b5496c65362fa0.tar.gz
cpython-22021579a9266f537bed1fbbb9b5496c65362fa0.tar.bz2
add boilerplate so the test modules can be run as scripts
Diffstat (limited to 'Lib/distutils/tests/test_install_scripts.py')
-rw-r--r--Lib/distutils/tests/test_install_scripts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_install_scripts.py b/Lib/distutils/tests/test_install_scripts.py
index 0a11abf..2e86dcd 100644
--- a/Lib/distutils/tests/test_install_scripts.py
+++ b/Lib/distutils/tests/test_install_scripts.py
@@ -70,6 +70,8 @@ class InstallScriptsTestCase(support.TempdirManager, unittest.TestCase):
self.assert_(name in installed)
-
def test_suite():
return unittest.makeSuite(InstallScriptsTestCase)
+
+if __name__ == "__main__":
+ unittest.main(defaultTest="test_suite")