summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_build_clib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_build_clib.py')
-rw-r--r--Lib/distutils/tests/test_build_clib.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_build_clib.py b/Lib/distutils/tests/test_build_clib.py
index 536cd67..e59b8f9 100644
--- a/Lib/distutils/tests/test_build_clib.py
+++ b/Lib/distutils/tests/test_build_clib.py
@@ -3,6 +3,8 @@ import unittest
import os
import sys
+from test.support import run_unittest
+
from distutils.command.build_clib import build_clib
from distutils.errors import DistutilsSetupError
from distutils.tests import support
@@ -141,4 +143,4 @@ def test_suite():
return unittest.makeSuite(BuildCLibTestCase)
if __name__ == "__main__":
- unittest.main(defaultTest="test_suite")
+ run_unittest(test_suite())