summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_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_build_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_build_scripts.py')
-rw-r--r--Lib/distutils/tests/test_build_scripts.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py
index 0cfef4e..7ef71cc 100644
--- a/Lib/distutils/tests/test_build_scripts.py
+++ b/Lib/distutils/tests/test_build_scripts.py
@@ -72,3 +72,6 @@ class BuildScriptsTestCase(support.TempdirManager, unittest.TestCase):
def test_suite():
return unittest.makeSuite(BuildScriptsTestCase)
+
+if __name__ == "__main__":
+ unittest.main(defaultTest="test_suite")