diff options
-rw-r--r-- | Lib/distutils/tests/test_build_py.py | 3 | ||||
-rw-r--r-- | Lib/distutils/tests/test_build_scripts.py | 3 | ||||
-rw-r--r-- | Lib/distutils/tests/test_install_scripts.py | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_py.py b/Lib/distutils/tests/test_build_py.py index 6cdce2c..757d757 100644 --- a/Lib/distutils/tests/test_build_py.py +++ b/Lib/distutils/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") 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") 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") |