mirror of https://github.com/python/cpython
Made this a little more compatible w/ the sandbox version, which is
still needed to test the Python implementatino.
This commit is contained in:
parent
e820cb60a3
commit
cfd4a8b639
|
@ -2086,7 +2086,7 @@ class TestDateTimeTZ(TestDateTime):
|
||||||
self.assertEqual(str(d), datestr + ' ' + tailstr)
|
self.assertEqual(str(d), datestr + ' ' + tailstr)
|
||||||
|
|
||||||
|
|
||||||
def suite():
|
def test_suite():
|
||||||
allsuites = [unittest.makeSuite(klass, 'test')
|
allsuites = [unittest.makeSuite(klass, 'test')
|
||||||
for klass in (TestModule,
|
for klass in (TestModule,
|
||||||
TestTZInfo,
|
TestTZInfo,
|
||||||
|
@ -2105,7 +2105,7 @@ def test_main():
|
||||||
import gc
|
import gc
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
thesuite = suite()
|
thesuite = test_suite()
|
||||||
lastrc = None
|
lastrc = None
|
||||||
while True:
|
while True:
|
||||||
test_support.run_suite(thesuite)
|
test_support.run_suite(thesuite)
|
||||||
|
|
Loading…
Reference in New Issue