summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_build_scripts.py')
-rw-r--r--Lib/distutils/tests/test_build_scripts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_scripts.py b/Lib/distutils/tests/test_build_scripts.py
index 85b0400..e3326b8 100644
--- a/Lib/distutils/tests/test_build_scripts.py
+++ b/Lib/distutils/tests/test_build_scripts.py
@@ -8,6 +8,7 @@ from distutils.core import Distribution
from distutils import sysconfig
from distutils.tests import support
+from test.support import run_unittest
class BuildScriptsTestCase(support.TempdirManager,
@@ -108,4 +109,4 @@ def test_suite():
return unittest.makeSuite(BuildScriptsTestCase)
if __name__ == "__main__":
- unittest.main(defaultTest="test_suite")
+ run_unittest(test_suite())