]> granicus.if.org Git - python/commitdiff
Made this a little more compatible w/ the sandbox version, which is
authorTim Peters <tim.peters@gmail.com>
Mon, 16 Dec 2002 21:12:37 +0000 (21:12 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 16 Dec 2002 21:12:37 +0000 (21:12 +0000)
still needed to test the Python implementatino.

Lib/test/test_datetime.py

index 058fb900bc769295d75ba625b2856094842dd1ac..cf6bd920eddc6a0d53ff09a7388b80fed5d268df 100644 (file)
@@ -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)