summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest/test/__init__.py')
-rw-r--r--Lib/unittest/test/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/unittest/test/__init__.py b/Lib/unittest/test/__init__.py
index c0548e9..99b730b 100644
--- a/Lib/unittest/test/__init__.py
+++ b/Lib/unittest/test/__init__.py
@@ -6,7 +6,7 @@ import unittest
here = os.path.dirname(__file__)
loader = unittest.defaultTestLoader
-def test_suite():
+def suite():
suite = unittest.TestSuite()
for fn in os.listdir(here):
if fn.startswith("test") and fn.endswith(".py"):
@@ -18,4 +18,4 @@ def test_suite():
if __name__ == "__main__":
- unittest.main(defaultTest="test_suite")
+ unittest.main(defaultTest="suite")