summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_install_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/tests/test_install_data.py')
-rw-r--r--Lib/distutils/tests/test_install_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_install_data.py b/Lib/distutils/tests/test_install_data.py
index 377ae86..6b3b4c8 100644
--- a/Lib/distutils/tests/test_install_data.py
+++ b/Lib/distutils/tests/test_install_data.py
@@ -6,6 +6,7 @@ import getpass
from distutils.command.install_data import install_data
from distutils.tests import support
+from test.support import run_unittest
class InstallDataTestCase(support.TempdirManager,
support.LoggingSilencer,
@@ -73,4 +74,4 @@ def test_suite():
return unittest.makeSuite(InstallDataTestCase)
if __name__ == "__main__":
- unittest.main(defaultTest="test_suite")
+ run_unittest(test_suite())