Temporarily disable the timeout and socket tests.

They still run as standalone scripts, but when used as part of the
regression test suite, they are effectively no-ops.
(This is done by renaming test_main to main.)
This commit is contained in:
Guido van Rossum 2002-06-13 20:24:17 +00:00
parent 09638c16d8
commit 654c11ee3a
2 changed files with 14 additions and 14 deletions

View file

@ -175,11 +175,11 @@ class TimeoutTestCase(unittest.TestCase):
pass
def test_main():
def main():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(CreationTestCase))
suite.addTest(unittest.makeSuite(TimeoutTestCase))
test_support.run_suite(suite)
if __name__ == "__main__":
test_main()
main()