summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-08-30 13:13:11 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-08-30 13:13:11 -0400
commitd7f14ca7b710fe301273909ea858fefbaa093e6c (patch)
tree9ed9e3da1bc11bf00764db15de6d4e0f1adf5150 /tests
parentbeb9809ca15b599a64cb0ad649ba365e28d7e8cb (diff)
downloadpython-setuptools-git-d7f14ca7b710fe301273909ea858fefbaa093e6c.tar.gz
Use modern mechanism for test discovery
Diffstat (limited to 'tests')
-rw-r--r--tests/test_filelist.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/test_filelist.py b/tests/test_filelist.py
index e82bc3d2..278809c0 100644
--- a/tests/test_filelist.py
+++ b/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, run_unittest
+from test.support import captured_stdout
from distutils.tests import support
MANIFEST_IN = """\
@@ -292,8 +292,5 @@ class FileListTestCase(support.LoggingSilencer,
self.assertWarnings()
-def test_suite():
- return unittest.makeSuite(FileListTestCase)
-
if __name__ == "__main__":
- run_unittest(test_suite())
+ unittest.main()