summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-12-16 21:12:37 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-12-16 21:12:37 (GMT)
commitcfd4a8b6399edb95a85791390bd79c76056a4d9e (patch)
tree8fcc7f62db96143b92f032bd7dce66e6dd1fb684
parente820cb60a3f326c0eaacb48a95da6e72b6e8ab0e (diff)
downloadcpython-cfd4a8b6399edb95a85791390bd79c76056a4d9e.zip
cpython-cfd4a8b6399edb95a85791390bd79c76056a4d9e.tar.gz
cpython-cfd4a8b6399edb95a85791390bd79c76056a4d9e.tar.bz2
Made this a little more compatible w/ the sandbox version, which is
still needed to test the Python implementatino.
-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)