summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_datetime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py
index 058fb90..cf6bd92 100644
--- a/Lib/test/test_datetime.py
+++ b/Lib/test/test_datetime.py
@@ -2086,7 +2086,7 @@ class TestDateTimeTZ(TestDateTime):
self.assertEqual(str(d), datestr + ' ' + tailstr)
-def suite():
+def test_suite():
allsuites = [unittest.makeSuite(klass, 'test')
for klass in (TestModule,
TestTZInfo,
@@ -2105,7 +2105,7 @@ def test_main():
import gc
import sys
- thesuite = suite()
+ thesuite = test_suite()
lastrc = None
while True:
test_support.run_suite(thesuite)