diff options
Diffstat (limited to 'Lib/distutils/tests/test_text_file.py')
-rw-r--r-- | Lib/distutils/tests/test_text_file.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/tests/test_text_file.py b/Lib/distutils/tests/test_text_file.py index f1e32b6..7e76240 100644 --- a/Lib/distutils/tests/test_text_file.py +++ b/Lib/distutils/tests/test_text_file.py @@ -3,6 +3,7 @@ import os import unittest from distutils.text_file import TextFile from distutils.tests import support +from test.support import run_unittest TEST_DATA = """# test file @@ -103,4 +104,4 @@ def test_suite(): return unittest.makeSuite(TextFileTestCase) if __name__ == "__main__": - unittest.main(defaultTest="test_suite") + run_unittest(test_suite()) |