diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-02 01:55:22 (GMT) |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-09-02 01:55:22 (GMT) |
commit | 8ac147d6ee42d156ecc9b3ed2f57cc9c9f86f746 (patch) | |
tree | 2c16f58c151a48f851f6cfc2b5d877660e1adeda /Lib/distutils | |
parent | 97eda155f82e6285315af86a02fa99fbe21a9a45 (diff) | |
download | cpython-8ac147d6ee42d156ecc9b3ed2f57cc9c9f86f746.zip cpython-8ac147d6ee42d156ecc9b3ed2f57cc9c9f86f746.tar.gz cpython-8ac147d6ee42d156ecc9b3ed2f57cc9c9f86f746.tar.bz2 |
Backed out changeset cc86e9e102e8
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_filelist.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_filelist.py b/Lib/distutils/tests/test_filelist.py index e719198..391af3c 100644 --- a/Lib/distutils/tests/test_filelist.py +++ b/Lib/distutils/tests/test_filelist.py @@ -9,7 +9,7 @@ from distutils.filelist import glob_to_re, translate_pattern, FileList from distutils import filelist import test.support -from test.support import captured_stdout +from test.support import captured_stdout, run_unittest from distutils.tests import support MANIFEST_IN = """\ @@ -329,5 +329,12 @@ class FindAllTestCase(unittest.TestCase): self.assertEqual(filelist.findall(temp_dir), expected) +def test_suite(): + return unittest.TestSuite([ + unittest.makeSuite(FileListTestCase), + unittest.makeSuite(FindAllTestCase), + ]) + + if __name__ == "__main__": - unittest.main() + run_unittest(test_suite()) |