From cfd4a8b6399edb95a85791390bd79c76056a4d9e Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Mon, 16 Dec 2002 21:12:37 +0000 Subject: [PATCH] Made this a little more compatible w/ the sandbox version, which is still needed to test the Python implementatino. --- Lib/test/test_datetime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_datetime.py b/Lib/test/test_datetime.py index 058fb900bc7..cf6bd920edd 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)