diff options
author | Guido van Rossum <guido@python.org> | 2002-06-13 20:24:17 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-06-13 20:24:17 +0000 |
commit | 654c11ee3a2c9b72c040524c9cc4f95a1858f20b (patch) | |
tree | b181aaff2bfb64b91e908e491b72809eb89e1874 /Lib/test/test_timeout.py | |
parent | 09638c16d842c77c7b9f7c0f339508c0b2a40feb (diff) | |
download | cpython-git-654c11ee3a2c9b72c040524c9cc4f95a1858f20b.tar.gz |
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.)
Diffstat (limited to 'Lib/test/test_timeout.py')
-rw-r--r-- | Lib/test/test_timeout.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index 7c7222290a..d79c4ee7d9 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -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() |