summaryrefslogtreecommitdiff
path: root/tests/test_build_py.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-25 19:04:21 +0000
committerFred Drake <fdrake@acm.org>2004-06-25 19:04:21 +0000
commit08c14ecdbb73fbb9036506e74a2bdf742ee5b13a (patch)
tree3ea91051b8f9d7f0580e2c217f09627a0c5c3cec /tests/test_build_py.py
parentb20a6ccc211060644ff3e6f89428420fa59f5a5d (diff)
downloadpython-setuptools-git-08c14ecdbb73fbb9036506e74a2bdf742ee5b13a.tar.gz
add boilerplate so the test modules can be run as scripts
Diffstat (limited to 'tests/test_build_py.py')
-rw-r--r--tests/test_build_py.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_build_py.py b/tests/test_build_py.py
index 6cdce2c7..757d757c 100644
--- a/tests/test_build_py.py
+++ b/tests/test_build_py.py
@@ -48,3 +48,6 @@ class BuildPyTestCase(support.TempdirManager, unittest.TestCase):
def test_suite():
return unittest.makeSuite(BuildPyTestCase)
+
+if __name__ == "__main__":
+ unittest.main(defaultTest="test_suite")