summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-09-06 02:24:01 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2016-09-06 02:24:01 (GMT)
commit1f5fd648b18a0d6fff31b73db4d9fb4158b2247e (patch)
treeb31873754b0a519f72fa7758c7edbfa4452793f1
parent79ae9671ff3db55da376af8ce2e56e6bf2b95c2b (diff)
downloadcpython-1f5fd648b18a0d6fff31b73db4d9fb4158b2247e.zip
cpython-1f5fd648b18a0d6fff31b73db4d9fb4158b2247e.tar.gz
cpython-1f5fd648b18a0d6fff31b73db4d9fb4158b2247e.tar.bz2
Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885.
-rw-r--r--Lib/distutils/tests/test_filelist.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_filelist.py b/Lib/distutils/tests/test_filelist.py
index 278809c..e82bc3d 100644
--- a/Lib/distutils/tests/test_filelist.py
+++ b/Lib/distutils/tests/test_filelist.py
@@ -7,7 +7,7 @@ from distutils.log import WARN
from distutils.errors import DistutilsTemplateError
from distutils.filelist import glob_to_re, translate_pattern, FileList
-from test.support import captured_stdout
+from test.support import captured_stdout, run_unittest
from distutils.tests import support
MANIFEST_IN = """\
@@ -292,5 +292,8 @@ class FileListTestCase(support.LoggingSilencer,
self.assertWarnings()
+def test_suite():
+ return unittest.makeSuite(FileListTestCase)
+
if __name__ == "__main__":
- unittest.main()
+ run_unittest(test_suite())