diff Lib/test/test_datetime.py @ 26677:43b54c2bc4e6 legacy-trunk

Made this a little more compatible w/ the sandbox version, which is still needed to test the Python implementatino.
author Tim Peters <tim.peters@gmail.com>
date Mon, 16 Dec 2002 21:12:37 +0000
parents 5b715cad34d0
children 5fba51f3729b
line wrap: on
line diff
--- a/Lib/test/test_datetime.py	Mon Dec 16 20:57:22 2002 +0000
+++ b/Lib/test/test_datetime.py	Mon Dec 16 21:12:37 2002 +0000
@@ -2086,7 +2086,7 @@
                 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 @@
     import gc
     import sys
 
-    thesuite = suite()
+    thesuite = test_suite()
     lastrc = None
     while True:
         test_support.run_suite(thesuite)