summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_log.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_log.py')
-rw-r--r--Lib/distutils/tests/test_log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_log.py b/Lib/distutils/tests/test_log.py
index 9d40dcd..ce66ee5 100644
--- a/Lib/distutils/tests/test_log.py
+++ b/Lib/distutils/tests/test_log.py
@@ -3,6 +3,7 @@
import sys
import unittest
from tempfile import NamedTemporaryFile
+from test.support import run_unittest
from distutils import log
@@ -33,4 +34,4 @@ def test_suite():
return unittest.makeSuite(TestLog)
if __name__ == "__main__":
- unittest.main(defaultTest="test_suite")
+ run_unittest(test_suite())