From: Tim Peters Date: Mon, 16 Dec 2002 21:12:37 +0000 (+0000) Subject: Made this a little more compatible w/ the sandbox version, which is X-Git-Tag: v2.3c1~2990 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cfd4a8b6399edb95a85791390bd79c76056a4d9e;p=thirdparty%2FPython%2Fcpython.git Made this a little more compatible w/ the sandbox version, which is still needed to test the Python implementatino. --- diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py index 058fb900bc76..cf6bd920eddc 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)